[lld] r249350 - Make this test a bit more strict.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 5 13:54:40 PDT 2015
Author: rafael
Date: Mon Oct 5 15:54:39 2015
New Revision: 249350
URL: http://llvm.org/viewvc/llvm-project?rev=249350&view=rev
Log:
Make this test a bit more strict.
Before the ADDR variables could match the empty string.
Modified:
lld/trunk/test/elf2/relative-dynamic-reloc.s
Modified: lld/trunk/test/elf2/relative-dynamic-reloc.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/relative-dynamic-reloc.s?rev=249350&r1=249349&r2=249350&view=diff
==============================================================================
--- lld/trunk/test/elf2/relative-dynamic-reloc.s (original)
+++ lld/trunk/test/elf2/relative-dynamic-reloc.s Mon Oct 5 15:54:39 2015
@@ -7,16 +7,16 @@
// CHECK: Relocations [
// CHECK-NEXT: Section ({{.*}}) .rela.dyn {
-// CHECK-NEXT: [[FOO_ADDR:.*]] R_X86_64_RELATIVE - [[FOO_ADDR]]
-// CHECK-NEXT: [[BAR_ADDR:.*]] R_X86_64_RELATIVE - [[BAR_ADDR]]
+// CHECK-NEXT: 0x[[FOO_ADDR:.*]] R_X86_64_RELATIVE - 0x[[FOO_ADDR]]
+// CHECK-NEXT: 0x[[BAR_ADDR:.*]] R_X86_64_RELATIVE - 0x[[BAR_ADDR]]
// CHECK-NEXT: }
// CHECK-NEXT: ]
// CHECK: Symbols [
// CHECK: Name: foo
-// CHECK-NEXT: Value: [[FOO_ADDR]]
+// CHECK-NEXT: Value: 0x[[FOO_ADDR]]
// CHECK: Name: bar
-// CHECK-NEXT: Value: [[BAR_ADDR]]
+// CHECK-NEXT: Value: 0x[[BAR_ADDR]]
// CHECK: ]
// CHECK: DynamicSymbols [
More information about the llvm-commits
mailing list