2 # Check MIPS .reginfo section generation.
4 # RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t1.o
5 # RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux \
6 # RUN: %S/Inputs/mips-dynamic.s -o %t2.o
7 # RUN: ld.lld %t1.o %t2.o --gc-sections -shared -o %t.so
8 # RUN: llvm-readobj --symbols -A %t.so | FileCheck %s
13 lw $t0
,%call16
(g1
)($gp
)
16 # CHECK-NEXT: Value: 0x[[GP:[0-9A-F]+]]
18 # CHECK: MIPS RegInfo {
19 # CHECK-NEXT: GP: 0x[[GP]]
20 # CHECK-NEXT: General Mask: 0x10000101
21 # CHECK-NEXT: Co-Proc Mask0: 0x0
22 # CHECK-NEXT: Co-Proc Mask1: 0x0
23 # CHECK-NEXT: Co-Proc Mask2: 0x0
24 # CHECK-NEXT: Co-Proc Mask3: 0x0