[PATCH] Test failures in GCC ASan testsuite on ARM Linux due to FP format mismatch between libsanitizer and GCC.

Alexey Samsonov vonosmas at gmail.com
Fri Aug 29 17:22:36 PDT 2014


================
Comment at: test/asan/TestCases/Linux/clang_gcc_abi.cc:14
@@ +13,3 @@
+  return s[three]; //BOOM
+// CHECK: #1 0x{{.*}} in boom {{.*}}clang_gcc_abi.cc:[[@LINE-2]]
+}
----------------
Just sanity checking: doesn't ASan output line 13 in the error report? (the one with the BOOM)

================
Comment at: test/asan/TestCases/Linux/clang_gcc_abi.cc:27
@@ +26,3 @@
+              );
+// CHECK: #2 0x{{.*}} in gcc_abi {{.*}}clang_gcc_abi.cc:[[@LINE-9]]
+}
----------------
This can be [[@LINE+1]] if you put it immediately after the asm blob (which would probably be more appropriate/clear).

http://reviews.llvm.org/D4692






More information about the llvm-commits mailing list