view test/Object/objdump-sectionheaders.test @ 52:c22698ecb2a9

modified CreateIdentifierInfo and create new function which was named 'CreateUniqueIdentifierInfo'.
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Wed, 15 Jan 2014 21:01:33 +0900
parents 95c75e76d11b
children c2174574ed3a
line wrap: on
line source

; RUN: llvm-objdump -h %p/Inputs/trivial-object-test.elf-x86-64 \
; RUN:              | FileCheck %s

; To verify this, use readelf -S, not objdump -h. Binutils objdump filters the
; results in a way that we don't emulate.

; CHECK: Sections:
; CHECK: Idx Name          Size      Address          Type
; CHECK:   0               00000000 0000000000000000
; CHECK:   1 .text         00000026 0000000000000000 TEXT DATA
; CHECK:   2 .rodata.str1.1 0000000d 0000000000000026 DATA
; CHECK:   3 .note.GNU-stack 00000000 0000000000000033
; CHECK:   4 .rela.text    00000048 0000000000000038
; CHECK:   5 .symtab       000000c0 0000000000000080
; CHECK:   6 .strtab       00000033 0000000000000140
; CHECK:   7 .shstrtab     0000004b 0000000000000173