aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2021-06-21 14:32:25 -0700
committerFangrui Song <i@maskray.me>2021-06-21 14:32:25 -0700
commitc618692218d16e88fa20df56b29a8dd09c9e9db7 (patch)
treec47199aeb2e870d782cc6cde3bd14aacf1aa34dd /llvm/lib/CodeGen/MachineFunction.cpp
parent3996311ee1b0a3c29a3ffcf9400e12ca76a846d9 (diff)
downloadllvm-c618692218d16e88fa20df56b29a8dd09c9e9db7.zip
llvm-c618692218d16e88fa20df56b29a8dd09c9e9db7.tar.gz
llvm-c618692218d16e88fa20df56b29a8dd09c9e9db7.tar.bz2
[AArch64][X86] Allow 64-bit label differences lower to IMAGE_REL_*_REL32
`IMAGE_REL_ARM64_REL64/IMAGE_REL_AMD64_REL64` do not exist and `.quad a - .` is currently not representable. For instrumentation, `.quad a - .` is useful representing a cross-section reference in a metadata section, to allow ELF medium/large code models. The COFF limitation makes such generic instrumentations inconvenient. I plan to make a PGO/coverage metadata section field relative in D104556. Differential Revision: https://reviews.llvm.org/D104564
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions