summaryrefslogtreecommitdiffstats
path: root/llvm/utils/abtest.py
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2018-07-23 21:14:35 +0000
committerReid Kleckner <rnk@google.com>2018-07-23 21:14:35 +0000
commit980c4df037649b375f952f4ee786582c6c8eb750 (patch)
treee039b03214ae6ba76bec312f254ffe70d85663cd /llvm/utils/abtest.py
parent07dee81a68fcf7e27e2e03e9c1dc2a0bdfd3a6d0 (diff)
downloadbcm5719-llvm-980c4df037649b375f952f4ee786582c6c8eb750.tar.gz
bcm5719-llvm-980c4df037649b375f952f4ee786582c6c8eb750.zip
Re-land r335297 "[X86] Implement more of x86-64 large and medium PIC code models"
Don't try to generate large PIC code for non-ELF targets. Neither COFF nor MachO have relocations for large position independent code, and users have been using "large PIC" code models to JIT 64-bit code for a while now. With this change, if they are generating ELF code, their JITed code will truly be PIC, but if they target MachO or COFF, it will contain 64-bit immediates that directly reference external symbols. For a JIT, that's perfectly fine. llvm-svn: 337740
Diffstat (limited to 'llvm/utils/abtest.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud