[compiler-rt] [asan] Make frame number checks more flexable (PR #94307)
Hau Hsu via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 12 20:34:03 PDT 2024
================
@@ -36,9 +36,9 @@ __attribute__((noinline)) void bad_function() {
char buffer[] = "hello";
// CHECK: strcpy-param-overlap: memory ranges
// CHECK: [{{0x.*,[ ]*0x.*}}) and [{{0x.*,[ ]*0x.*}}) overlap
- // CHECK: {{#0 0x.* in .*strcpy}}
- // CHECK: {{#1 0x.* in bad_function.*strcpy-overlap.cpp:}}[[@LINE+2]]
- // CHECK: {{#2 0x.* in main .*strcpy-overlap.cpp:}}[[@LINE+5]]
+ // CHECK: {{#[0-9]+ 0x.* in .*strcpy .*.cpp}}
----------------
hau-hsu wrote:
That's different from my output. Thanks for fixing that :)
https://github.com/llvm/llvm-project/pull/94307
More information about the llvm-commits
mailing list