aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringBase.cpp
diff options
context:
space:
mode:
authorKeith Walker <keith.walker@arm.com>2022-05-24 15:54:58 +0100
committerKeith Walker <keith.walker@arm.com>2022-06-15 11:52:12 +0100
commit94fac097ad409a5c48f9987f925794bf1d4eac21 (patch)
tree0abab38a271c7ea59bfcb1673fc2fdc60aded0d3 /llvm/lib/CodeGen/TargetLoweringBase.cpp
parent170ca11aeff25735006ca51e5ed3005b672e8f97 (diff)
downloadllvm-94fac097ad409a5c48f9987f925794bf1d4eac21.zip
llvm-94fac097ad409a5c48f9987f925794bf1d4eac21.tar.gz
llvm-94fac097ad409a5c48f9987f925794bf1d4eac21.tar.bz2
[DebugInfo][ARM] Not readonly check for RWPI globals
When compiling for the RWPI relocation model [1], the debug information is wrong for readonly global variables. Writable global variables are accessed by the static base register (R9 on ARM) in the RWPI relocation model. This is being correctly generated Readonly global variables are not accessed by the static base register in the RWPI relocation model. This case is incorrectly generating the same debugging information as for writable global variables. References: [1] ARM Read-Write Position Independence: https://github.com/ARM-software/abi-aa/blob/main/aapcs32/aapcs32.rst#read-write-position-independence-rwpi Differential Revision: https://reviews.llvm.org/D126361
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
0 files changed, 0 insertions, 0 deletions