diff options
| author | Martin Storsjo <martin@martin.st> | 2017-10-03 06:29:58 +0000 |
|---|---|---|
| committer | Martin Storsjo <martin@martin.st> | 2017-10-03 06:29:58 +0000 |
| commit | 1e54738676babb54c2c64b7d2a7fadbaf903d7f5 (patch) | |
| tree | 8d7ff4a1ead7e06323d965f521ce50638397a784 /llvm/test | |
| parent | a1b8e0352f3a7c806f9958839bf9b6880e1340b8 (diff) | |
| download | bcm5719-llvm-1e54738676babb54c2c64b7d2a7fadbaf903d7f5.tar.gz bcm5719-llvm-1e54738676babb54c2c64b7d2a7fadbaf903d7f5.zip | |
[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
llvm-svn: 314767
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/CodeGen/X86/sjlj-eh.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/sjlj-eh.ll b/llvm/test/CodeGen/X86/sjlj-eh.ll index fc71e3cdf7b..183877f83fe 100644 --- a/llvm/test/CodeGen/X86/sjlj-eh.ll +++ b/llvm/test/CodeGen/X86/sjlj-eh.ll @@ -88,7 +88,7 @@ try.cont: ; CHECK-X64: leaq __gxx_personality_sj0(%rip), %rax ; CHECK-X64: movq %rax, -280(%rbp) ; UFC.__lsda = $LSDA -; CHECK-X64: movl $[[LSDA:GCC_except_table[0-9]+]], %eax +; CHECK-X64: leaq [[LSDA:GCC_except_table[0-9]+]](%rip), %rax ; CHECK-X64: movq %rax, -272(%rbp) ; UFC.__jbuf[0] = $RBP ; CHECK-X64: movq %rbp, -264(%rbp) |

