[compiler-rt] 0dc6122 - [asan][test] Fix Linux/odr-violation.cpp on gcc

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 11 09:53:56 PST 2021


Author: Fangrui Song
Date: 2021-02-11T09:53:48-08:00
New Revision: 0dc6122dd31c742894bd16871b227ec9b1f9bf36

URL: https://github.com/llvm/llvm-project/commit/0dc6122dd31c742894bd16871b227ec9b1f9bf36
DIFF: https://github.com/llvm/llvm-project/commit/0dc6122dd31c742894bd16871b227ec9b1f9bf36.diff

LOG: [asan][test] Fix Linux/odr-violation.cpp on gcc

Added: 
    

Modified: 
    compiler-rt/test/asan/TestCases/Linux/odr-violation.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/asan/TestCases/Linux/odr-violation.cpp b/compiler-rt/test/asan/TestCases/Linux/odr-violation.cpp
index 047984fa9f6c..1a9b39f89b52 100644
--- a/compiler-rt/test/asan/TestCases/Linux/odr-violation.cpp
+++ b/compiler-rt/test/asan/TestCases/Linux/odr-violation.cpp
@@ -61,7 +61,7 @@ int main(int argc, char **argv) {
 #endif
 
 // CHECK: These globals were registered at these points:
-// CHECK: ODR-EXE
+// CHECK: {{odr-violation.cpp|ODR-EXE}}
 // CHECK: odr-violation.cpp{{$}}
 // CHECK: SUMMARY: AddressSanitizer: odr-violation: global 'foo::G' at {{.*}}odr-violation.cpp
 // DISABLED: PASS


        


More information about the llvm-commits mailing list