mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 03:56:16 +08:00
[asan] Relax strdup test check lines
On the buildbot, strdup appears as frame 1 instead of frame 0. Either is an acceptable user experience. llvm-svn: 264016
This commit is contained in:
@@ -20,7 +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 .*strdup}}
|
||||
// CHECK: {{#1 .* main .*}}intercept_strdup.cc:[[@LINE-15]]
|
||||
// CHECK: {{#[0-9] .*strdup}}
|
||||
// CHECK: {{#[0-9] .* main .*}}intercept_strdup.cc:[[@LINE-15]]
|
||||
free(ptr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user