summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/X86DisassemblerTables.cpp
diff options
context:
space:
mode:
authorFrederic Riss <friss@apple.com>2015-02-26 19:48:07 +0000
committerFrederic Riss <friss@apple.com>2015-02-26 19:48:07 +0000
commitadbb3f207fba14e40f737c968bb78c63dc12b65a (patch)
tree0886ae1516c2f68c7235b6679714174e2b9529c3 /llvm/utils/TableGen/X86DisassemblerTables.cpp
parent83f8824a7567a87208d9118c50e9c8c1ccc3a721 (diff)
downloadbcm5719-llvm-adbb3f207fba14e40f737c968bb78c63dc12b65a.tar.gz
bcm5719-llvm-adbb3f207fba14e40f737c968bb78c63dc12b65a.zip
[MC] Use the non-EH register mapping in the debug_frame section.
On 32bits x86 Darwin, the register mappings for the eh_frane and debug_frame sections are different. Thus the same CFI instructions should result in different registers in the object file. The problem isn't target specific though, but it requires that the mappings for EH register numbers be different from the standard Dwarf one. The patch looks a bit clumsy. LLVM uses the EH mapping as canonical for everything frame related. Thus we need to do a double conversion EH -> LLVM -> Non-EH, when emitting the debug_frame section. Fixes PR22363. Differential Revision: http://reviews.llvm.org/D7593 llvm-svn: 230670
Diffstat (limited to 'llvm/utils/TableGen/X86DisassemblerTables.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud