summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Bitcode')
-rw-r--r--llvm/test/Bitcode/Inputs/source-filename.bcbin0 -> 792 bytes
-rw-r--r--llvm/test/Bitcode/source-filename.test2
2 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/Bitcode/Inputs/source-filename.bc b/llvm/test/Bitcode/Inputs/source-filename.bc
new file mode 100644
index 00000000000..3f327f4bf3c
--- /dev/null
+++ b/llvm/test/Bitcode/Inputs/source-filename.bc
Binary files differ
diff --git a/llvm/test/Bitcode/source-filename.test b/llvm/test/Bitcode/source-filename.test
new file mode 100644
index 00000000000..d12cd3bb30d
--- /dev/null
+++ b/llvm/test/Bitcode/source-filename.test
@@ -0,0 +1,2 @@
+; RUN: llvm-bcanalyzer -dump %p/Inputs/source-filename.bc | FileCheck %s
+; CHECK: <SOURCE_FILENAME {{.*}} record string = 'source-filename.c'
OpenPOWER on IntegriCloud