File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed
llvm/test/tools/llvm-readobj/ELF Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ Sections:
117117 Type: SHT_PROGBITS
118118 Flags: [ SHF_X86_64_LARGE, SHF_EXCLUDE ]
119119
120- # RUN: yaml2obj --docnum 5 %s -o %t-arm.o
120+ # RUN: yaml2obj --docnum 5 -DARCH=ARM %s -o %t-arm.o
121121# RUN: llvm-readobj -S %t-arm.o | FileCheck --check-prefix=ARM-LLVM %s
122122# RUN: llvm-readelf -S %t-arm.o | FileCheck --check-prefix=ARM-GNU %s
123123
@@ -128,18 +128,7 @@ Sections:
128128# ARM-GNU: [Nr] Name Type Address Off Size ES Flg Lk Inf Al
129129# ARM-GNU: [ 1] foo PROGBITS 0000000000000000 000040 000000 00 y 0 0 0
130130
131- --- !ELF
132- FileHeader:
133- Class: ELFCLASS64
134- Data: ELFDATA2LSB
135- Type: ET_REL
136- Machine: EM_ARM
137- Sections:
138- - Name: foo
139- Type: SHT_PROGBITS
140- Flags: [ SHF_ARM_PURECODE ]
141-
142- # RUN: yaml2obj --docnum 6 %s -o %t-aarch64.o
131+ # RUN: yaml2obj --docnum 5 -DARCH=AARCH64 %s -o %t-aarch64.o
143132# RUN: llvm-readobj -S %t-aarch64.o | FileCheck --check-prefix=AARCH64-LLVM %s
144133# RUN: llvm-readelf -S %t-aarch64.o | FileCheck --check-prefix=AARCH64-GNU %s
145134
@@ -155,8 +144,8 @@ FileHeader:
155144 Class: ELFCLASS64
156145 Data: ELFDATA2LSB
157146 Type: ET_REL
158- Machine: EM_AARCH64
147+ Machine: EM_[[ARCH]]
159148Sections:
160149 - Name: foo
161150 Type: SHT_PROGBITS
162- Flags: [ SHF_AARCH64_PURECODE ]
151+ Flags: [ SHF_[[ARCH]]_PURECODE ]
You can’t perform that action at this time.
0 commit comments