mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-19 19:45:40 -04:00

When --section-headers is used, GNU objdump prints both LMA and VMA for sections. llvm-objdump does not do that what makes it's output be slightly inconsistent. Patch teaches llvm-objdump to print LMA/VMA for ELF file formats. The behavior for other formats remains unchanged. Differential revision: https://reviews.llvm.org/D57146 llvm-svn: 352366
7 lines
191 B
Plaintext
7 lines
191 B
Plaintext
; RUN: llvm-objdump -h %p/Inputs/no-sections.elf-x86-64 \
|
|
; RUN: | FileCheck %s
|
|
|
|
; CHECK: Sections:
|
|
; CHECK: Idx Name Size VMA Type
|
|
; CHECK-NOT: {{.}}
|