diff options
author | Petr Hosek <phosek@google.com> | 2020-10-30 20:19:39 -0700 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2020-10-31 02:37:38 -0700 |
commit | 11efd002b1e6191d97abfec4e7b3d390d8589197 (patch) | |
tree | 6bf02026dcfb5c79a0841204d165e53a052f7c3a /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 5c31b8b94fddc7c109672964c72670430fe30887 (diff) | |
download | llvm-11efd002b1e6191d97abfec4e7b3d390d8589197.zip llvm-11efd002b1e6191d97abfec4e7b3d390d8589197.tar.gz llvm-11efd002b1e6191d97abfec4e7b3d390d8589197.tar.bz2 |
[CMake] Avoid accidental C++ standard library dependency in sanitizers
While sanitizers don't use C++ standard library, we could still end
up accidentally including or linking it just by the virtue of using
the C++ compiler. Pass -nostdinc++ and -nostdlib++ to avoid these
accidental dependencies.
Reviewed By: smeenai, vitalybuka
Differential Revision: https://reviews.llvm.org/D88922
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions