1 # RUN: yaml2obj %s -o %t
3 ## Check we print both VMA and LMA correctly when dumping section headers.
4 # RUN: llvm-objdump --section-headers %t | FileCheck %s
7 # CHECK-NEXT: Idx Name Size VMA LMA Type
8 # CHECK-NEXT: 0 00000000 0000000000000000 0000000000000000
9 # CHECK-NEXT: 1 .text 00000004 0000000000001000 0000000000002000 TEXT
10 # CHECK-NEXT: 2 .init 00000004 0000000000001010 0000000000001010 TEXT
11 # CHECK-NEXT: 3 .data 00000004 0000000000002000 0000000000003000 DATA
22 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
27 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]