[PATCH] D48142: [Sanitizers] Make sanitizer allocator linker-initialize compliant.
Filipe Cabecinhas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 25 09:30:53 PDT 2018
filcab added a comment.
In https://reviews.llvm.org/D48142#1142349, @filcab wrote:
> Clang still warns:
>
> /Users/filcab/dev/llvm/compiler-rt/lib/asan/asan_allocator.cc:793:18: warning: declaration requires a global constructor [-Wglobal-constructors]
> static Allocator instance(LINKER_INITIALIZED);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1 warning generated.
>
Ah, that's the Asan allocator, which might be bringing something else on. It's probably not about this patch. Sorry for the noise.
Repository:
rL LLVM
https://reviews.llvm.org/D48142
More information about the llvm-commits
mailing list