diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-04-15 15:59:37 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-04-15 15:59:37 +0000 |
commit | 10f3de68893e07d53780dfb2ecc752d83848b595 (patch) | |
tree | 97fb9fa97f9adf8fa2612d6189a55475a48aa3d9 /llvm/test/CodeGen/PowerPC/mcm-obj.ll | |
parent | c03d93baa01d57343058d25e9c9f7bfc4e7601e4 (diff) | |
download | bcm5719-llvm-10f3de68893e07d53780dfb2ecc752d83848b595.tar.gz bcm5719-llvm-10f3de68893e07d53780dfb2ecc752d83848b595.zip |
Update tests to not be as dependent on section numbers.
Many of these predate llvm-readobj. With elf-dump we had to match
a relocation to symbol number and symbol number to symbol name or
section number.
llvm-svn: 235015
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/mcm-obj.ll')
-rw-r--r-- | llvm/test/CodeGen/PowerPC/mcm-obj.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/PowerPC/mcm-obj.ll b/llvm/test/CodeGen/PowerPC/mcm-obj.ll index 770ef35d91a..46295cf3187 100644 --- a/llvm/test/CodeGen/PowerPC/mcm-obj.ll +++ b/llvm/test/CodeGen/PowerPC/mcm-obj.ll @@ -22,12 +22,12 @@ entry: ; accessing external variable ei. ; ; MEDIUM: Relocations [ -; MEDIUM: Section (2) .rela.text { +; MEDIUM: Section {{.*}} .rela.text { ; MEDIUM-NEXT: 0x{{[0-9,A-F]+}} R_PPC64_TOC16_HA [[SYM1:[^ ]+]] ; MEDIUM-NEXT: 0x{{[0-9,A-F]+}} R_PPC64_TOC16_LO_DS [[SYM1]] ; ; LARGE: Relocations [ -; LARGE: Section (2) .rela.text { +; LARGE: Section {{.*}} .rela.text { ; LARGE-NEXT: 0x{{[0-9,A-F]+}} R_PPC64_TOC16_HA [[SYM1:[^ ]+]] ; LARGE-NEXT: 0x{{[0-9,A-F]+}} R_PPC64_TOC16_LO_DS [[SYM1]] |