]> granicus.if.org Git - llvm/commit
[X86] Provide the LSDA pointer with RIP relative addressing if necessary
authorMartin Storsjo <martin@martin.st>
Tue, 3 Oct 2017 06:29:58 +0000 (06:29 +0000)
committerMartin Storsjo <martin@martin.st>
Tue, 3 Oct 2017 06:29:58 +0000 (06:29 +0000)
commit4495cb19285afa2b7ac5053f0ceb5538fbd23e9f
tree2bd3a5c9144d220f391fcfcf5bfdf519404d8712
parent42c9fd02c2e5f782133f6f340344b150b53c927f
[X86] Provide the LSDA pointer with RIP relative addressing if necessary

This makes sure the LSDA pointer isn't truncated to 32 bit.

Make LowerINTRINSIC_WO_CHAIN a member function instead of a static
function, so that it can use the getGlobalWrapperKind method.

This solves the second half of the issues mentioned in PR34720.

Differential Revision: https://reviews.llvm.org/D38343

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314767 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
test/CodeGen/X86/sjlj-eh.ll