brintos

brintos / llvm-project-archived public Read only

0
0
Text · 862 B · b4644c8 Raw
35 lines · plain
1// REQUIRES: arm2// RUN: llvm-mc -filetype=obj -triple=armv7a-none-linux-gnueabi %s -o %t3// RUN: ld.lld %t -o %t2 --icf=all4// RUN: llvm-objdump -s -d --triple=armv7a-none-linux-gnueabi %t2 | FileCheck %s5 6 .syntax unified7 .section        .text.f,"axG",%progbits,f,comdat8f:9 .fnstart10 bx      lr11 .fnend12 13 .section        .text.g,"axG",%progbits,g,comdat14g:15 .fnstart16 bx      lr17 .fnend18 19 .section .text.h20 .global __aeabi_unwind_cpp_pr021__aeabi_unwind_cpp_pr0:22 nop23 bx lr24 25// CHECK: Contents of section .ARM.exidx:26// CHECK-NEXT:  100d4 18000100 b0b0b080 14000100 0100000027 28// CHECK: Disassembly of section .text:29// CHECK-EMPTY:30// CHECK-NEXT: <g>:31// CHECK-NEXT:    200ec:        e12fff1e        bx      lr32// CHECK: <__aeabi_unwind_cpp_pr0>:33// CHECK-NEXT:    200f0:        e320f000        nop34// CHECK-NEXT:    200f4:        e12fff1e        bx      lr35