diff options
| author | Paul Robinson <paul.robinson@sony.com> | 2019-01-29 20:53:51 +0000 |
|---|---|---|
| committer | Paul Robinson <paul.robinson@sony.com> | 2019-01-29 20:53:51 +0000 |
| commit | 4ca29477d9d6f219a92ba499f380fb57ffe00e8b (patch) | |
| tree | 1da3d38176ea122c3ab76103f3a0e2b819d92f2a /llvm/test/MC/AsmParser | |
| parent | 58fc8082a89f51a7cec210fa57c301bcb754aef0 (diff) | |
| download | bcm5719-llvm-4ca29477d9d6f219a92ba499f380fb57ffe00e8b.tar.gz bcm5719-llvm-4ca29477d9d6f219a92ba499f380fb57ffe00e8b.zip | |
[DWARF] Emit reasonable debug info for empty .s files.
llvm-svn: 352541
Diffstat (limited to 'llvm/test/MC/AsmParser')
| -rw-r--r-- | llvm/test/MC/AsmParser/debug-only-comments.s | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/MC/AsmParser/debug-only-comments.s b/llvm/test/MC/AsmParser/debug-only-comments.s new file mode 100644 index 00000000000..0330653498b --- /dev/null +++ b/llvm/test/MC/AsmParser/debug-only-comments.s @@ -0,0 +1,6 @@ + # RUN: llvm-mc -triple i386-linux-gnu -g -dwarf-version 4 < %s | FileCheck %s + # RUN: llvm-mc -triple i386-linux-gnu -g -dwarf-version 5 < %s | FileCheck %s + # CHECK: .section .debug_info + # CHECK: .section .debug_info + # CHECK-NOT: .section + # CHECK: .ascii "<stdin>" |

