Update this test yet again, this time based on a nice consecutive pair

of lines provided with the filecheck output from the previous run. I'll
probably give up after this and get someone with a Windows build to help
me out.

llvm-svn: 271784
This commit is contained in:
Chandler Carruth 2016-06-04 08:24:56 +00:00
parent 4f785dc1f6
commit ece6d7bf2e
1 changed files with 2 additions and 3 deletions

View File

@ -20,8 +20,7 @@ int main() {
// CHECK: {{#0 .* main .*}}intercept_strdup.cc:[[@LINE-3]]
// CHECK: [[ADDR]] is located 1 bytes to the left of 6-byte region
// CHECK: allocated by thread T0 here:
// CHECK: #0 {{.*}} in malloc
// CHECK: #1 {{.*FIXME}}
// CHECK: #2 {{.* main .*}}intercept_strdup.cc:[[@LINE-15]]
// CHECK: #0 {{.*}} in __asan_wrap_strdup
// CHECK: #1 {{.*}} in main {{.*}}intercept_strdup.cc:[[@LINE-15]]
free(ptr);
}