diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-07-06 21:33:23 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-07-06 21:33:23 +0000 |
| commit | 8c1fc04f3f5c1e13528bf42ff1da29e123d42bfc (patch) | |
| tree | 60da5c0581e765e6e26dc6b213d711f4c487bfad | |
| parent | 68d0fcd7aaab9054e6b7b6c90692c9ac6b9c8d2b (diff) | |
| download | llvm-8c1fc04f3f5c1e13528bf42ff1da29e123d42bfc.zip llvm-8c1fc04f3f5c1e13528bf42ff1da29e123d42bfc.tar.gz llvm-8c1fc04f3f5c1e13528bf42ff1da29e123d42bfc.tar.bz2 | |
Use @LINE in two more tests.
llvm-svn: 307318
| -rw-r--r-- | llvm/test/MC/COFF/bad-expr.s | 3 | ||||
| -rw-r--r-- | llvm/test/MC/ELF/bad-expr3.s | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/llvm/test/MC/COFF/bad-expr.s b/llvm/test/MC/COFF/bad-expr.s index ecbdd41..cbbd5d0 100644 --- a/llvm/test/MC/COFF/bad-expr.s +++ b/llvm/test/MC/COFF/bad-expr.s @@ -1,7 +1,6 @@ // RUN: not llvm-mc -filetype=obj -triple i386-pc-win32 %s 2>&1 | FileCheck %s -// CHECK: symbol '__ImageBase' can not be undefined in a subtraction expression - .data _x: +// CHECK: [[@LINE+1]]:{{[0-9]+}}: error: symbol '__ImageBase' can not be undefined in a subtraction expression .long _x-__ImageBase diff --git a/llvm/test/MC/ELF/bad-expr3.s b/llvm/test/MC/ELF/bad-expr3.s index 990167c..cf5d6f4 100644 --- a/llvm/test/MC/ELF/bad-expr3.s +++ b/llvm/test/MC/ELF/bad-expr3.s @@ -1,8 +1,7 @@ // RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o /dev/null \ // RUN: 2>&1 | FileCheck %s -// CHECK: Cannot represent a difference across sections - +// CHECK: [[@LINE+1]]:{{[0-9]+}}: error: Cannot represent a difference across sections .long foo - bar .section .zed foo: |
