[llvm] r307318 - Use @LINE in two more tests.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 6 14:33:23 PDT 2017
Author: rafael
Date: Thu Jul 6 14:33:23 2017
New Revision: 307318
URL: http://llvm.org/viewvc/llvm-project?rev=307318&view=rev
Log:
Use @LINE in two more tests.
Modified:
llvm/trunk/test/MC/COFF/bad-expr.s
llvm/trunk/test/MC/ELF/bad-expr3.s
Modified: llvm/trunk/test/MC/COFF/bad-expr.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/bad-expr.s?rev=307318&r1=307317&r2=307318&view=diff
==============================================================================
--- llvm/trunk/test/MC/COFF/bad-expr.s (original)
+++ llvm/trunk/test/MC/COFF/bad-expr.s Thu Jul 6 14:33:23 2017
@@ -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
Modified: llvm/trunk/test/MC/ELF/bad-expr3.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/bad-expr3.s?rev=307318&r1=307317&r2=307318&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/bad-expr3.s (original)
+++ llvm/trunk/test/MC/ELF/bad-expr3.s Thu Jul 6 14:33:23 2017
@@ -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:
More information about the llvm-commits
mailing list