llvm-mirror/test/tools/llvm-readobj/mips-options-sec.test
Simon Atanasyan eba22b7e3c [llvm-readobj] Print MIPS .MIPS.options section content
.MIPS.options section specifies miscellaneous options to be applied
to an object file. LLVM as well as modern versions of GNU tools emit
the only type of the options - ODK_REGINFO. The patch teaches llvm-readobj
to print details of the ODK_REGINFO and skip contents of other options.

llvm-svn: 268478
2016-05-04 05:58:57 +00:00

13 lines
371 B
Plaintext

RUN: llvm-readobj -mips-options %p/Inputs/options.obj.elf-mipsel | FileCheck %s
CHECK: MIPS Options {
CHECK-NEXT: ODK_REGINFO {
CHECK-NEXT: GP: 0x0
CHECK-NEXT: General Mask: 0xF2000017
CHECK-NEXT: Co-Proc Mask0: 0x0
CHECK-NEXT: Co-Proc Mask1: 0x0
CHECK-NEXT: Co-Proc Mask2: 0x0
CHECK-NEXT: Co-Proc Mask3: 0x0
CHECK-NEXT: }
CHECK-NEXT: }