[compiler-rt] [asan] Make frame number checks more flexable (PR #94307)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 12 11:39:53 PDT 2024


================
@@ -23,7 +23,7 @@ int main(int argc, char **argv) {
   // CHECK: AddressSanitizer: heap-buffer-overflow
   // CHECK: #0 {{.*}}main {{.*}}strdup_oob_test.cpp:[[@LINE-2]]
   // CHECK-LABEL: allocated by thread T{{.*}} here:
-  // CHECK: #{{[01]}} {{.*}}strdup
+  // CHECK: #{{[0-9]}}+ {{.*}}strdup
----------------
dyung wrote:

Should the `+` be inside the double braces since I assume you are trying to use it as a regex and not explicitly match it? I believe this is causing a test failure on a bot because of this misplacement of the `+` on https://lab.llvm.org/buildbot/#/builders/77/builds/38204

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


More information about the llvm-commits mailing list