mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-15 18:06:08 +00: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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352366 91177308-0d34-0410-b5e6-96231b3b80d8
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: {{.}}
|