summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info-method-spec.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2018-11-14 22:59:27 +0000
committerReid Kleckner <rnk@google.com>2018-11-14 22:59:27 +0000
commit7b7b1140e3a4c01275fb41b0c5141bba98164e13 (patch)
tree03632a3a427afe9d629f14ecaab85a38f636e7b5 /clang/test/CodeGenCXX/debug-info-method-spec.cpp
parentdced6ee92322dc80081830319d0fee1ac96b0bba (diff)
downloadbcm5719-llvm-7b7b1140e3a4c01275fb41b0c5141bba98164e13.tar.gz
bcm5719-llvm-7b7b1140e3a4c01275fb41b0c5141bba98164e13.zip
[codeview] Make "clang -g" emit codeview by default when targetting MSVC
Summary: If you're using the Microsoft ABI, chances are that you want PDBs and codeview debug info. Currently, everyone has to remember to specific -gcodeview by default, when it would be nice if the standard -g option did the right thing by default. Also, do some related cleanup of -cc1 options. When targetting the MS C++ ABI, we probably shouldn't pass -debugger-tuning=gdb. We were also passing -gcodeview twice, which is silly. Reviewers: smeenai, zturner Subscribers: aprantl, JDevlieghere, llvm-commits Differential Revision: https://reviews.llvm.org/D54499 llvm-svn: 346907
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-method-spec.cpp')
-rw-r--r--clang/test/CodeGenCXX/debug-info-method-spec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-method-spec.cpp b/clang/test/CodeGenCXX/debug-info-method-spec.cpp
index c00da004f45..0c803fdf6bf 100644
--- a/clang/test/CodeGenCXX/debug-info-method-spec.cpp
+++ b/clang/test/CodeGenCXX/debug-info-method-spec.cpp
@@ -1,5 +1,5 @@
// FIXME: Check IR rather than asm, then triple is not needed.
-// RUN: %clang -Xclang -triple=%itanium_abi_triple -fverbose-asm -g -S %s -o - | grep DW_AT_specification
+// RUN: %clang --target=%itanium_abi_triple -fverbose-asm -g -S %s -o - | grep DW_AT_specification
// Radar 9254491
class A {
public:
OpenPOWER on IntegriCloud