aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2024-04-17 12:04:18 -0700
committerGitHub <noreply@github.com>2024-04-17 12:04:18 -0700
commit6cea7c491f4c4c68aa0494a9b18f36ff40c22c81 (patch)
tree327dbc07ae6b87a13331330e693e0946e37740b1 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parentb1dc62f139ef265a36a2a739ce9ba4e1e48a6dbe (diff)
downloadllvm-6cea7c491f4c4c68aa0494a9b18f36ff40c22c81.zip
llvm-6cea7c491f4c4c68aa0494a9b18f36ff40c22c81.tar.gz
llvm-6cea7c491f4c4c68aa0494a9b18f36ff40c22c81.tar.bz2
[X86] Always use 64-bit relocations in no-PIC large code model (#89101)
This matches other types of relocations, e.g. to constant pool. And makes things more consistent with PIC large code model. Some users of the large code model may not place small data in the lower 2GB of the address space (e.g. https://github.com/ClangBuiltLinux/linux/issues/2016), so just unconditionally use 64-bit relocations in the large code model. So now functions in a section not marked large will use 64-bit relocations to reference everything when using the large code model. This also fixes some lldb tests broken by #88172 (https://lab.llvm.org/buildbot/#/builders/68/builds/72458).
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions