diff options
author | serge-sans-paille <sguelton@redhat.com> | 2021-05-14 11:45:10 +0200 |
---|---|---|
committer | serge-sans-paille <sguelton@redhat.com> | 2021-06-09 09:38:59 +0200 |
commit | 414482751452e54710f16bae58458c66298aaf69 (patch) | |
tree | bcc668e0092891cd093deaaa849545b5df2ed066 /llvm/docs/tutorial | |
parent | 699231ab3c7dd8f028d868b103481fa901f3c721 (diff) | |
download | llvm-414482751452e54710f16bae58458c66298aaf69.zip llvm-414482751452e54710f16bae58458c66298aaf69.tar.gz llvm-414482751452e54710f16bae58458c66298aaf69.tar.bz2 |
Prevent generation of dependency on _cxa_guard for static initialization
This fixes an issue introduced by https://reviews.llvm.org/D70662
Function-scope static initialization are guarded in C++, so we should probably
not use it because it introduces a dependency on __cxa_guard* symbols.
In the context of clang, libasan is linked statically, and it currently needs to
the odd situation where compiling C code with clang and asan requires -lstdc++
Differential Revision: https://reviews.llvm.org/D102475
Diffstat (limited to 'llvm/docs/tutorial')
0 files changed, 0 insertions, 0 deletions