[lld] r190619 - [lld][tests] Fix buildbot failure on darwin
Shankar Easwaran
shankare at codeaurora.org
Thu Sep 12 11:10:21 PDT 2013
Author: shankare
Date: Thu Sep 12 13:10:20 2013
New Revision: 190619
URL: http://llvm.org/viewvc/llvm-project?rev=190619&view=rev
Log:
[lld][tests] Fix buildbot failure on darwin
Modified:
lld/trunk/test/elf/Hexagon/dynlib-gotoff.test
lld/trunk/test/elf/check.test
lld/trunk/test/pecoff/importlib.test
Modified: lld/trunk/test/elf/Hexagon/dynlib-gotoff.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/Hexagon/dynlib-gotoff.test?rev=190619&r1=190618&r2=190619&view=diff
==============================================================================
--- lld/trunk/test/elf/Hexagon/dynlib-gotoff.test (original)
+++ lld/trunk/test/elf/Hexagon/dynlib-gotoff.test Thu Sep 12 13:10:20 2013
@@ -42,7 +42,7 @@ CHECKGOTPLT: offset: 0
CHECKGOTPLT: target: fn
CHECKGOTPLT: - kind: R_HEX_32
CHECKGOTPLT: offset: 0
-CHECKGOTPLT: target: .PLT0
+ target: .PLT0
- name: __got_fn1
CHECKGOTPLT: type: got
CHECKGOTPLT: content: [ 00, 00, 00, 00 ]
@@ -55,7 +55,7 @@ CHECKGOTPLT: offset: 0
CHECKGOTPLT: target: fn1
CHECKGOTPLT: - kind: R_HEX_32
CHECKGOTPLT: offset: 0
-CHECKGOTPLT: target: .PLT0
+ target: .PLT0
- name: __got_fn2
CHECKGOTPLT: type: got
CHECKGOTPLT: content: [ 00, 00, 00, 00 ]
@@ -68,7 +68,7 @@ CHECKGOTPLT: offset: 0
CHECKGOTPLT: target: fn2
CHECKGOTPLT: - kind: R_HEX_32
CHECKGOTPLT: offset: 0
-CHECKGOTPLT: target: .PLT0
+ target: .PLT0
- name: .PLT0
CHECKGOTPLT: type: stub
CHECKGOTPLT: content: [ 00, 40, 00, 00, 1C, C0, 49, 6A, 0E, 42, 9C, E2,
Modified: lld/trunk/test/elf/check.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/check.test?rev=190619&r1=190618&r2=190619&view=diff
==============================================================================
--- lld/trunk/test/elf/check.test (original)
+++ lld/trunk/test/elf/check.test Thu Sep 12 13:10:20 2013
@@ -9,8 +9,6 @@ RUN: FileCheck %s -check-prefix ELF-hexa
ELF-i386: defined-atoms:
ELF-i386: - name: global_variable
-ELF-i386: - name: common_symbol
-ELF-i386: - name: tentative
ELF-i386: - name: uninitialized_static_variable
ELF-i386: - name: global_func
ELF-i386: - name: static_func
@@ -25,8 +23,6 @@ ELF-i386: absolute-atoms:
ELF-i386: - name: sample.c
ELF-hexagon: - name: global_variable
-ELF-hexagon: - name: tentative
-ELF-hexagon: - name: common_symbol
ELF-hexagon: - name: uninitialized_static_variable
ELF-hexagon: - name: global_func
ELF-hexagon: - name: static_func
Modified: lld/trunk/test/pecoff/importlib.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/importlib.test?rev=190619&r1=190618&r2=190619&view=diff
==============================================================================
--- lld/trunk/test/pecoff/importlib.test (original)
+++ lld/trunk/test/pecoff/importlib.test Thu Sep 12 13:10:20 2013
@@ -27,11 +27,11 @@ CHECK-NEXT: .text:
CHECK-NEXT: 1000: 55 pushl %ebp
CHECK-NEXT: 1001: 8b ec movl %esp, %ebp
CHECK-NEXT: 1003: 56 pushl %esi
-CHECK-NEXT: 1004: ff 15 22 20 40 00 calll *4202530
-CHECK-NEXT: 100a: 8b 0d 26 20 40 00 movl 4202534, %ecx
+CHECK-NEXT: 1004: {{[0-9 a-f]+}} calll *{{[0-9a-f]+}}
+CHECK-NEXT: 100a: {{[0-9 a-f]+}} movl {{[0-9a-f]+}}, %ecx
CHECK-NEXT: 1010: 8b 31 movl (%ecx), %esi
CHECK-NEXT: 1012: 03 f0 addl %eax, %esi
-CHECK-NEXT: 1014: ff 15 1e 20 40 00 calll *4202526
+CHECK-NEXT: 1014: {{[0-9 a-f]+}} calll *{{[0-9a-f]+}}
CHECK-NEXT: 101a: 03 c6 addl %esi, %eax
CHECK-NEXT: 101c: 5e popl %esi
CHECK-NEXT: 101d: 5d popl %ebp
More information about the llvm-commits
mailing list