summaryrefslogtreecommitdiff
path: root/test/CodeGen/debug-info-macro.c
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2017-02-11 00:52:01 +0000
committerRichard Trieu <rtrieu@google.com>2017-02-11 00:52:01 +0000
commit8cb75e5cb1559acbd771b3a49dd48b855462636e (patch)
tree261c2d99d55551dac7ebc0a3fb0ecda603c43b93 /test/CodeGen/debug-info-macro.c
parent37772c96271bba380b5e9b74e5999a91744930a5 (diff)
downloadclang-8cb75e5cb1559acbd771b3a49dd48b855462636e.tar.gz
Move test include file from include/ to Inputs/
The Inputs/ directory is the recommended location for extra files for test cases. No functional change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@294815 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/debug-info-macro.c')
-rw-r--r--test/CodeGen/debug-info-macro.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/CodeGen/debug-info-macro.c b/test/CodeGen/debug-info-macro.c
index b98b3ad6a7..889c7ffdba 100644
--- a/test/CodeGen/debug-info-macro.c
+++ b/test/CodeGen/debug-info-macro.c
@@ -1,10 +1,10 @@
-// RUN: %clang_cc1 -emit-llvm -debug-info-kind=line-tables-only -debug-info-macro %s -o - "-DC1(x)=( x + 5 )" -DA -include %S/include/debug-info-macro.h -UC1 | FileCheck -check-prefixes=CHECK,NO_PCH %s
-// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -debug-info-macro %s -o - "-DC1(x)=( x + 5 )" -DA -include %S/include/debug-info-macro.h -UC1 | FileCheck -check-prefixes=CHECK,NO_PCH %s
-// RUN: %clang_cc1 -emit-llvm -debug-info-kind=standalone -debug-info-macro %s -o - "-DC1(x)=( x + 5 )" -DA -include %S/include/debug-info-macro.h -UC1 | FileCheck -check-prefixes=CHECK,NO_PCH %s
-// RUN: %clang_cc1 -emit-llvm -debug-info-macro %s -o - "-DC1(x)=( x + 5 )" -DA -include %S/include/debug-info-macro.h -UC1 | FileCheck -check-prefixes=NO_MACRO %s
+// RUN: %clang_cc1 -emit-llvm -debug-info-kind=line-tables-only -debug-info-macro %s -o - "-DC1(x)=( x + 5 )" -DA -include %S/Inputs/debug-info-macro.h -UC1 | FileCheck -check-prefixes=CHECK,NO_PCH %s
+// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -debug-info-macro %s -o - "-DC1(x)=( x + 5 )" -DA -include %S/Inputs/debug-info-macro.h -UC1 | FileCheck -check-prefixes=CHECK,NO_PCH %s
+// RUN: %clang_cc1 -emit-llvm -debug-info-kind=standalone -debug-info-macro %s -o - "-DC1(x)=( x + 5 )" -DA -include %S/Inputs/debug-info-macro.h -UC1 | FileCheck -check-prefixes=CHECK,NO_PCH %s
+// RUN: %clang_cc1 -emit-llvm -debug-info-macro %s -o - "-DC1(x)=( x + 5 )" -DA -include %S/Inputs/debug-info-macro.h -UC1 | FileCheck -check-prefixes=NO_MACRO %s
-// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -debug-info-macro %S/include/debug-info-macro.h -emit-pch -o %t.pch -DC3
-// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -debug-info-macro %s -o - -include-pch %t.pch "-DC1(x)=( x + 5 )" -DA -include %S/include/debug-info-macro.h -UC1 | FileCheck -check-prefixes=CHECK,PCH %s
+// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -debug-info-macro %S/Inputs/debug-info-macro.h -emit-pch -o %t.pch -DC3
+// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -debug-info-macro %s -o - -include-pch %t.pch "-DC1(x)=( x + 5 )" -DA -include %S/Inputs/debug-info-macro.h -UC1 | FileCheck -check-prefixes=CHECK,PCH %s
// This test checks that macro Debug info is correctly generated.
@@ -13,10 +13,10 @@
#line 15
/*Line 15*/ #define D1 1
-/*Line 16*/ #include "include/debug-info-macro.h"
+/*Line 16*/ #include "Inputs/debug-info-macro.h"
/*Line 17*/ #undef D1
/*Line 18*/ #define D2 2
-/*Line 19*/ #include "include/debug-info-macro.h"
+/*Line 19*/ #include "Inputs/debug-info-macro.h"
/*Line 20*/ #undef D2
// NO_MACRO-NOT: macros