1 # RUN: llvm-mc %s -filetype obj -triple armv7a-- -o %t.o
2 # RUN: not llvm-cfi-verify %t.o 2>&1 | FileCheck %s
4 # CHECK: Could not initialise disassembler: Unsupported architecture.
7 # int a() { return 42; }
8 # int b() { return 137; }
9 # int main(int argc, char** argv) {
19 .eabi_attribute 67, "2.09"
38 .type _Z1av.cfi,%function
45 .cfi_sections .debug_frame
47 .loc 1 1 11 prologue_end
52 .size _Z1av.cfi, .Lfunc_end0-_Z1av.cfi
58 .type _Z1bv.cfi,%function
65 .loc 1 2 11 prologue_end
70 .size _Z1bv.cfi, .Lfunc_end1-_Z1bv.cfi
90 .cfi_def_cfa_register r11
98 .loc 1 5 7 prologue_end
142 .long _Z1av-(.LPC2_0+8)
144 .long _Z1bv-(.LPC2_1+8)
146 .long .L.cfi.jumptable-(.LPC2_2+8)
148 .size main, .Lfunc_end2-main
153 .type .L.cfi.jumptable,%function
165 .size .L.cfi.jumptable, .Lfunc_end3-.L.cfi.jumptable
170 .type .L__unnamed_1,%object
171 .section .rodata,"a",%progbits
173 .size .L__unnamed_1, 0
175 .section .debug_str,"MS",%progbits,1
177 .asciz "clang version 7.0.0 (trunk 336681) (llvm/trunk 336683)"
182 .section .debug_abbrev,"",%progbits
203 .section .debug_info,"",%progbits
213 .long .Lline_table_start0
216 .long .Lfunc_end2-.Lfunc_begin0
217 .section .debug_ranges,"",%progbits
218 .section .debug_macinfo,"",%progbits
221 .globl __typeid__ZTSFivE_global_addr
222 .hidden __typeid__ZTSFivE_global_addr
223 .set __typeid__ZTSFivE_global_addr, .L.cfi.jumptable
224 .size __typeid__ZTSFivE_global_addr, 1
225 .type _Z1av,%function
226 .set _Z1av, .L.cfi.jumptable
227 .type _Z1bv,%function
228 .set _Z1bv, .L.cfi.jumptable+4
229 .ident "clang version 7.0.0 (trunk 336681) (llvm/trunk 336683)"
230 .section ".note.GNU-stack","",%progbits
231 .section .debug_line,"",%progbits