• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llvm-objdump -h %p/TestObjectFiles/trivial-object-test.elf-x86-64 \
2; RUN:              | FileCheck %s
3
4; To verify this, use readelf -S, not objdump -h. Binutils objdump filters the
5; results in a way that we don't emulate.
6
7; CHECK: Sections:
8; CHECK: Idx Name          Size      Address          Type
9; CHECK:   0               000000000 00000000000000000
10; CHECK:   1 .text         000000026 00000000000000000 TEXT DATA
11; CHECK:   2 .rodata.str1.1 00000000d 00000000000000026 DATA
12; CHECK:   3 .note.GNU-stack 000000000 00000000000000033
13; CHECK:   4 .rela.text    000000048 00000000000000038
14; CHECK:   5 .symtab       0000000c0 00000000000000080
15; CHECK:   6 .strtab       000000033 00000000000000140
16; CHECK:   7 .shstrtab     00000004b 00000000000000173
17