1# RUN: llvm-objdump -h %p/Inputs/trivial.obj.wasm | FileCheck %s 2 3# CHECK: Sections: 4# CHECK-NEXT: Idx Name Size VMA Type 5# CHECK-NEXT: 0 TYPE 00000011 00000000 6# CHECK-NEXT: 1 IMPORT 0000005d 00000000 7# CHECK-NEXT: 2 FUNCTION 00000003 00000000 8# CHECK-NEXT: 3 CODE 00000024 00000000 TEXT 9# CHECK-NEXT: 4 DATA 0000001c 00000000 DATA 10# CHECK-NEXT: 5 linking 0000006d 00000000 11# CHECK-NEXT: 6 reloc.CODE 0000000f 00000000 12 13# RUN: llvm-objdump -p %p/Inputs/trivial.obj.wasm | FileCheck %s --check-prefix CHECK-HEADER 14 15# CHECK-HEADER: Program Header: 16# CHECK-HEADER: Version: 0x1 17 18# RUN: llvm-objdump -s --section=CODE %p/Inputs/trivial.obj.wasm | FileCheck %s --check-prefix CHECK-SECTIONS 19 20# CHECK-SECTIONS: Contents of section CODE: 21# CHECK-SECTIONS: 0000 02170041 80808080 00108080 8080001a ...A............ 22# CHECK-SECTIONS: 0010 10838080 80004100 0b0a0041 00108180 ......A....A.... 23# CHECK-SECTIONS: 0020 8080000b .... 24