[PATCH] D48141: [ASan] Linker-initialize static ScopedInErrorReport::current_error_.
Filipe Cabecinhas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 25 09:27:14 PDT 2018
filcab added a comment.
This got committed, but clang still warns:
/Users/filcab/dev/llvm/compiler-rt/lib/asan/asan_report.cc:209:39: warning: declaration requires a global constructor [-Wglobal-constructors]
ErrorDescription ScopedInErrorReport::current_error_(LINKER_INITIALIZED);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Repository:
rL LLVM
https://reviews.llvm.org/D48141
More information about the llvm-commits
mailing list