aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorPetr Hosek <phosek@google.com>2020-10-30 20:19:39 -0700
committerVitaly Buka <vitalybuka@google.com>2020-10-31 02:37:38 -0700
commit11efd002b1e6191d97abfec4e7b3d390d8589197 (patch)
tree6bf02026dcfb5c79a0841204d165e53a052f7c3a /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent5c31b8b94fddc7c109672964c72670430fe30887 (diff)
downloadllvm-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