diff options
| author | Scott Linder <scott@scottlinder.com> | 2018-02-23 23:13:18 +0000 |
|---|---|---|
| committer | Scott Linder <scott@scottlinder.com> | 2018-02-23 23:13:18 +0000 |
| commit | c16b975ac8275d0503411b2a4bcb76112c19d046 (patch) | |
| tree | ee440bdb0cd1c30384ea3fa06a06cdd89d76daee /llvm/test/Bitcode | |
| parent | bcc82c9a78b1690af80836093aa32ab8470cc8f4 (diff) | |
| download | bcm5719-llvm-c16b975ac8275d0503411b2a4bcb76112c19d046.tar.gz bcm5719-llvm-c16b975ac8275d0503411b2a4bcb76112c19d046.zip | |
[DebugInfo] Add remaining files to r325970
Add files which I missed in the original check-in
llvm-svn: 325973
Diffstat (limited to 'llvm/test/Bitcode')
| -rw-r--r-- | llvm/test/Bitcode/metadata-source.ll | 13 | ||||
| -rw-r--r-- | llvm/test/Bitcode/metadata-source.ll.bc | bin | 0 -> 1028 bytes |
2 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/Bitcode/metadata-source.ll b/llvm/test/Bitcode/metadata-source.ll new file mode 100644 index 00000000000..d52dc260d22 --- /dev/null +++ b/llvm/test/Bitcode/metadata-source.ll @@ -0,0 +1,13 @@ +; Test that DIFile representation upgrades with introduction of +; optional source field. +; +; RUN: llvm-dis < %s.bc | FileCheck %s +; RUN: verify-uselistorder < %s.bc + +!llvm.dbg.cu = !{!1} +!llvm.module.flags = !{!3} + +!1 = distinct !DICompileUnit(language: DW_LANG_C99, file: !2, producer: "clang version 5.0.1 (tags/RELEASE_501/final)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) +; CHECK-NOT: !DIFile({{.*}}source:{{.*}}) +!2 = !DIFile(filename: "a.c", directory: "/test") +!3 = !{i32 2, !"Debug Info Version", i32 3} diff --git a/llvm/test/Bitcode/metadata-source.ll.bc b/llvm/test/Bitcode/metadata-source.ll.bc Binary files differnew file mode 100644 index 00000000000..b7b0a9e4c33 --- /dev/null +++ b/llvm/test/Bitcode/metadata-source.ll.bc |

