[PATCH] D48806: [asan] Fix deadlock issue on FreeBSD, caused by use of .preinit_array in rL325240

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 1 09:38:30 PDT 2018


MaskRay added a comment.

In https://reviews.llvm.org/D48806#1148977, @devnexen wrote:

> The failing tests might depend on FreeBSD version, on 10.4
>
>   [100%] Running the XRay tests
>   Testing Time: 2.81s
>     Expected Passes    : 57
>     Unsupported Tests  : 1
>   [100%] Built target check-xray
>
>
> Also, as an alternative, what if we disable the early init in asan only instead of generalising it ? Works too.


Made a special case in `xray_init.cc`


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D48806





More information about the llvm-commits mailing list