]> granicus.if.org Git - clang/commitdiff
Pass the special backend option to this test for now to get it passing
authorEric Christopher <echristo@gmail.com>
Fri, 30 Aug 2013 00:52:06 +0000 (00:52 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 30 Aug 2013 00:52:06 +0000 (00:52 +0000)
again.

This test should a) test IR or be moved, and b) get an actual option
for the dwarf pub sections.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189633 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/debug-info-pubtypes.cpp

index 6ca3da8674f304c0a5efc17ff58fd6c2c82d1b8a..6393cddeef67e94ccf01afe2c580ea21986760f5 100644 (file)
@@ -1,6 +1,5 @@
 // REQUIRES: x86-64-registered-target
-// RUN: %clang_cc1 -triple x86_64-apple-darwin10  -g -fno-limit-debug-info -S %s -o %t
-// RUN: FileCheck %s < %t
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10  -g -fno-limit-debug-info -S -mllvm -generate-dwarf-pub-sections=Enable %s -o - | FileCheck %s
 
 // FIXME: This testcase shouldn't rely on assembly emission.
 //CHECK: Lpubtypes_begin[[SECNUM:[0-9]:]]
@@ -10,7 +9,7 @@
 
 class G {
 public:
-       void foo();
+  void foo();
 };
 
 void G::foo() {