mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
103bab8f5d
We would attempt to access the symbol section without ensuring that the symbol was not absolute. When the assembler referenced relocation is not evaluated to the absolute, but when we record the relocation, we would query the section. Because the symbol is absolute, it does not have a section associated with it, triggering an assertion. Just be more careful about the access of the section. Addresses PR31064! llvm-svn: 287619
14 lines
228 B
ArmAsm
14 lines
228 B
ArmAsm
@ RUN: llvm-mc -triple armv7-linux -filetype obj -o - %s | llvm-objdump -triple armv7 -D -r - | FileCheck %s
|
|
|
|
.text
|
|
|
|
__aeabi_unwind_cpp_pr0 = 0xdeadbeef
|
|
|
|
f:
|
|
.fnstart
|
|
bx lr
|
|
.fnend
|
|
|
|
@ CHECK: R_ARM_NONE __aeabi_unwind_cpp_pr0
|
|
|