[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ARM / ehabi-personality-abs.s
blobf1298f8f5eef2941c351db7974fb8da2407a4daf
1 @ RUN: llvm-mc -triple armv7-linux -filetype obj -o - %s | llvm-objdump --triple=armv7 -D -r - | FileCheck %s
3 .text
5 __aeabi_unwind_cpp_pr0 = 0xdeadbeef
7 f:
8 .fnstart
9 bx lr
10 .fnend
12 @@ Regression test: MC does not crash due to the absolute __aeabi_unwind_cpp_pr0.
13 @@ GNU as and MC currently emit a R_ARM_NONE for this invalid usage.
14 @ CHECK: R_ARM_NONE __aeabi_unwind_cpp_pr0