Re: [llvm] Reland "[asan] Catch `initialization-order-fiasco` in modules without…" (PR #104730)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 1 14:12:55 PDT 2024


It can not be XFAIL as it passes on many Darwin bots
https://lab.llvm.org/buildbot/#/builders/190

On Tue, Oct 1, 2024 at 2:05 PM Henrik G. Olsson via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

>
> 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
> <http://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
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20241001/b79a8c1a/attachment.html>


More information about the llvm-commits mailing list