[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:28:06 PDT 2018
filcab added a comment.
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.
Repository:
rL LLVM
https://reviews.llvm.org/D48142
More information about the llvm-commits
mailing list