[compiler-rt] [compiler-rt] Relax CHECK line in reaches_function.c (PR #83089)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 29 15:34:50 PST 2024


================
@@ -32,7 +32,7 @@ void my_dfsan_reaches_function_callback(dfsan_label label, dfsan_origin origin,
 __attribute__((noinline)) uint64_t add(uint64_t *a, uint64_t *b) {
 
   return *a + *b;
-  // CHECK: {{.*}}compiler-rt/test/dfsan/reaches_function.c:[[# @LINE - 1]] add.dfsan
----------------
vitalybuka wrote:

I guess usually we only match filename `reaches_function.c` in other tests.

https://github.com/llvm/llvm-project/pull/83089


More information about the llvm-commits mailing list