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/MC/AsmParser | |
| 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/MC/AsmParser')
| -rw-r--r-- | llvm/test/MC/AsmParser/debug-empty-source.s | 7 | ||||
| -rw-r--r-- | llvm/test/MC/AsmParser/debug-no-source.s | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/llvm/test/MC/AsmParser/debug-empty-source.s b/llvm/test/MC/AsmParser/debug-empty-source.s new file mode 100644 index 00000000000..2f2039cfdae --- /dev/null +++ b/llvm/test/MC/AsmParser/debug-empty-source.s @@ -0,0 +1,7 @@ +// RUN: llvm-mc %s -o -| FileCheck %s + +.file 1 "dir1" "foo" source "" +.loc 1 1 0 +nop + +# CHECK: .file {{.*}} source "" diff --git a/llvm/test/MC/AsmParser/debug-no-source.s b/llvm/test/MC/AsmParser/debug-no-source.s new file mode 100644 index 00000000000..590feba8c76 --- /dev/null +++ b/llvm/test/MC/AsmParser/debug-no-source.s @@ -0,0 +1,5 @@ +// RUN: llvm-mc %s | FileCheck %s + +.file 1 "dir1/foo" + +# CHECK-NOT: .file {{.*}} source |

