[llvm] Reland "[asan] Catch `initialization-order-fiasco` in modules without…" (PR #104730)
Henrik G. Olsson via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 1 14:05:52 PDT 2024
hnrklssn wrote:
`compiler-rt/test/asan/TestCases/initialization-bug-no-global.cpp` has been failing on darwin for a while now, I suspect since it was added, since it links to an issue about it not working on darwin. @vitalybuka could you XFAIL it for darwin again?
https://green.lab.llvm.org/job/llvm.org/job/clang-san-iossim/4162/testReport/
```
FileCheck /Users/ec2-user/jenkins/workspace/llvm.org/clang-san-iossim/llvm-project/compiler-rt/test/asan/TestCases/initialization-bug-no-global.cpp
/Users/ec2-user/jenkins/workspace/llvm.org/clang-san-iossim/llvm-project/compiler-rt/test/asan/TestCases/initialization-bug-no-global.cpp:15:12: error: CHECK: expected string not found in input
// CHECK: AddressSanitizer: initialization-order-fiasco
^
<stdin>:1:1: note: scanning from here
0
^
<stdin>:2:2: note: possible intended match here
PASS
^
Input file: <stdin>
Check file: /Users/ec2-user/jenkins/workspace/llvm.org/clang-san-iossim/llvm-project/compiler-rt/test/asan/TestCases/initialization-bug-no-global.cpp
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: 0
check:15'0 X~ error: no match found
2: PASS
check:15'0 ~~~~~
check:15'1 ? possible intended match
>>>>>>
```
https://github.com/llvm/llvm-project/pull/104730
More information about the llvm-commits
mailing list