diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-09-20 02:08:31 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-09-20 02:08:31 +0000 |
commit | af99cd41745093e753cfe59d81269d84a588fd9d (patch) | |
tree | 24ad032ff1531498ea16b4dcd7230f7f4a77aef9 /llvm/lib/Target/X86/X86TargetObjectFile.cpp | |
parent | 428db150d16f671d9e99726a5068c6613496e799 (diff) | |
download | bcm5719-llvm-af99cd41745093e753cfe59d81269d84a588fd9d.tar.gz bcm5719-llvm-af99cd41745093e753cfe59d81269d84a588fd9d.zip |
EH: fix register usage for SjLj
When using SjLj EH, do not use __builtin_eh_return_regno, map directly to the
ID. This would work on some targets, particularly those where the non-SjLj EH
personality used the same register mapping (0 -> 0, 1 -> 1). However, this is
not guaranteed. Avoiding the use of the builtin enables the use of libc++ with
SjLj EH on all targets.
llvm-svn: 248108
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions