summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/split-debug-filename.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/split-debug-filename.c')
-rw-r--r--test/CodeGen/split-debug-filename.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/split-debug-filename.c b/test/CodeGen/split-debug-filename.c
new file mode 100644
index 0000000..63970a8
--- /dev/null
+++ b/test/CodeGen/split-debug-filename.c
@@ -0,0 +1,7 @@
+// RUN: %clang -target x86_64-linux-gnu -gsplit-dwarf -S -emit-llvm -o - %s | FileCheck %s
+int main (void) {
+ return 0;
+}
+
+// Testing to ensure that the dwo name gets output into the compile unit.
+// CHECK: split-debug-filename.dwo
OpenPOWER on IntegriCloud