diff options
author | Chris Bieneman <beanz@apple.com> | 2016-10-18 23:53:24 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2016-10-18 23:53:24 +0000 |
commit | e80f007dfb6b4f04fb00b28559ce21a2852b89b5 (patch) | |
tree | 53d5662c63c4edd68b1e1328fd8f4ee960712df7 /llvm/lib/Transforms/Utils/ASanStackFrameLayout.cpp | |
parent | 84a0b6dba179126639a68a6925d9d0ceb0bb250a (diff) | |
download | llvm-e80f007dfb6b4f04fb00b28559ce21a2852b89b5.zip llvm-e80f007dfb6b4f04fb00b28559ce21a2852b89b5.tar.gz llvm-e80f007dfb6b4f04fb00b28559ce21a2852b89b5.tar.bz2 |
Use clang --driver-mode instead of guessing c++ compiler path
Summary:
When building the LLDB test programs, if your CC is clang it actually isn't safe to make CXX a string replace of "clang -> clang++". This falls down on unix configurations if your compiler is clang-${version}.
A safer approach is to use the "--driver-mode=g++" option to tell clang to act like clang++.
Reviewers: tfiala, zturner, labath
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D25753
llvm-svn: 284550
Diffstat (limited to 'llvm/lib/Transforms/Utils/ASanStackFrameLayout.cpp')
0 files changed, 0 insertions, 0 deletions