[lld] r365619 - [ELF] Update test case due to llvm r365618
Nikola Prica via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 10 04:19:44 PDT 2019
Author: nikolaprica
Date: Wed Jul 10 04:19:44 2019
New Revision: 365619
URL: http://llvm.org/viewvc/llvm-project?rev=365619&view=rev
Log:
[ELF] Update test case due to llvm r365618
Modified:
lld/trunk/test/ELF/mips-got-string.s
Modified: lld/trunk/test/ELF/mips-got-string.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-got-string.s?rev=365619&r1=365618&r2=365619&view=diff
==============================================================================
--- lld/trunk/test/ELF/mips-got-string.s (original)
+++ lld/trunk/test/ELF/mips-got-string.s Wed Jul 10 04:19:44 2019
@@ -3,20 +3,14 @@
# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux -o %t.o %s
# RUN: ld.lld -shared -o %t.so %t.o
-# RUN: llvm-readobj --symbols --mips-plt-got %t.so | FileCheck %s
+# RUN: llvm-objdump -dD %t.so | FileCheck %s
-# CHECK: Symbol {
-# CHECK: Name: $.str
-# CHECK-NEXT: Value: 0x1F1
-# CHECK: }
-
-# CHECK: Local entries [
-# CHECK-NEXT: Entry {
-# CHECK-NEXT: Address:
-# CHECK-NEXT: Access: -32744
-# CHECK-NEXT: Initial: 0x0
-# CHECK: }
-# CHECK: ]
+# CHECK: 000001f1 .rodata:
+# 'f''o''o''\0'
+# CHECK-NEXT: 1f1: 66 6f 6f 00
+# CHECK: lw $25, -32744($gp)
+# 0x1f1
+# CHECK-NEXT: addiu $4, $25, 497
.text
lw $t9, %got($.str)($gp)
More information about the llvm-commits
mailing list