diff options
| author | Paul Robinson <paul.robinson@sony.com> | 2018-03-08 22:39:47 +0000 |
|---|---|---|
| committer | Paul Robinson <paul.robinson@sony.com> | 2018-03-08 22:39:47 +0000 |
| commit | 43095b2885fc944ee847eb4d210224874abcbd67 (patch) | |
| tree | b064efb4fa7592828e31a8907ca6481070097dc0 /llvm/test | |
| parent | 4c77cb7d125058d9e29f77c7a36006d1b66f3be8 (diff) | |
| download | bcm5719-llvm-43095b2885fc944ee847eb4d210224874abcbd67.tar.gz bcm5719-llvm-43095b2885fc944ee847eb4d210224874abcbd67.zip | |
[DWARF] Fix mixing assembler -g with DWARF .file directives.
We were effectively overriding an explicit '.file' directive with info
for the assembler source. That shouldn't happen.
Fixes PR36636.
Differential Revision: https://reviews.llvm.org/D44265
llvm-svn: 327073
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/MC/AsmParser/directive_file-2.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/MC/AsmParser/directive_file-2.s b/llvm/test/MC/AsmParser/directive_file-2.s index ff6df5116ad..ad3904ada0e 100644 --- a/llvm/test/MC/AsmParser/directive_file-2.s +++ b/llvm/test/MC/AsmParser/directive_file-2.s @@ -1,4 +1,4 @@ -// RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s +// RUN: llvm-mc -g -triple i386-unknown-unknown %s | FileCheck %s // Test for Bug 11740 // This testcase has two directive files, // when compiled with -g, this testcase will not report error, |

