diff options
Diffstat (limited to 'test/Object')
-rw-r--r-- | test/Object/Inputs/program-headers.elf-i386 | bin | 0 -> 987 bytes | |||
-rw-r--r-- | test/Object/objdump-private-headers.test | 8 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/Object/Inputs/program-headers.elf-i386 b/test/Object/Inputs/program-headers.elf-i386 Binary files differnew file mode 100644 index 0000000..eb92c71 --- /dev/null +++ b/test/Object/Inputs/program-headers.elf-i386 diff --git a/test/Object/objdump-private-headers.test b/test/Object/objdump-private-headers.test new file mode 100644 index 0000000..e54d3eb --- /dev/null +++ b/test/Object/objdump-private-headers.test @@ -0,0 +1,8 @@ +RUN: llvm-objdump -p %p/Inputs/program-headers.elf-i386 \ +RUN: | FileCheck %s -check-prefix ELF-i386 + +ELF-i386: Program Header: +ELF-i386: LOAD off 0x00000000 vaddr 0x08048000 paddr 0x08048000 align 2**12 +ELF-i386: filesz 0x00000134 memsz 0x00000134 flags r-x +ELF-i386: STACK off 0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**2 +ELF-i386: filesz 0x00000000 memsz 0x00000000 flags rw- |