summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/codeview-column-info.c
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2018-05-08 20:55:23 +0000
committerMartin Storsjo <martin@martin.st>2018-05-08 20:55:23 +0000
commitf9fa17b87309a6e9a13792102bf23f2b3f7a738d (patch)
tree89a33955fa00b29b6a143c153b5234557dfd828b /clang/test/Driver/codeview-column-info.c
parent635af6223b7e8ab034696c49c1bf3bb722ca96a1 (diff)
downloadbcm5719-llvm-f9fa17b87309a6e9a13792102bf23f2b3f7a738d.tar.gz
bcm5719-llvm-f9fa17b87309a6e9a13792102bf23f2b3f7a738d.zip
[Driver] Don't add -dwarf-column-info when using -gcodeview on non-msvc targets
-dwarf-column-info is omitted if -gcodeview is specified for msvc targets at the moment, but since -gcodeview is an option that can be specified for any target, there's little reason to restrict this handling to msvc targets. This allows getting proper codeview debug info by passing -gcodeview for e.g. MinGW targets as well. Differential Revision: https://reviews.llvm.org/D46287 llvm-svn: 331807
Diffstat (limited to 'clang/test/Driver/codeview-column-info.c')
-rw-r--r--clang/test/Driver/codeview-column-info.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Driver/codeview-column-info.c b/clang/test/Driver/codeview-column-info.c
index c5a7dc96d41..6b524accd7b 100644
--- a/clang/test/Driver/codeview-column-info.c
+++ b/clang/test/Driver/codeview-column-info.c
@@ -6,6 +6,8 @@
// RUN: FileCheck < %t1 %s
// RUN: %clangxx -### --target=x86_64-windows-msvc -c -g -gcodeview %s 2> %t2
// RUN: FileCheck < %t2 %s
+// RUN: %clangxx -### --target=x86_64-windows-gnu -c -g -gcodeview %s 2> %t2
+// RUN: FileCheck < %t2 %s
// RUN: %clang_cl -### --target=x86_64-windows-msvc /c /Z7 -- %s 2> %t2
// RUN: FileCheck < %t2 %s
OpenPOWER on IntegriCloud