llvm-6502/test/MC
Frederic Riss 09e8018e14 [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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230670 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-26 19:48:07 +00:00
..
AArch64
ARM
AsmParser
COFF Fix quoting of #pragma comment for MS compat, LLVM part. 2015-02-16 11:57:17 +00:00
Disassembler [PowerPC] Add support for the QPX vector instruction set 2015-02-25 01:06:45 +00:00
ELF MC: Allow multiple comma-separated expressions on the .uleb128 directive. 2015-02-19 20:24:04 +00:00
Hexagon
MachO
Markup
Mips Replace obsolete -mattr=n64 command line option with -target-abi=n64. No functional changes. 2015-02-26 12:29:48 +00:00
PowerPC [PowerPC] Add support for the QPX vector instruction set 2015-02-25 01:06:45 +00:00
R600
Sparc
SystemZ [SystemZ] Support all TLS access models - MC part 2015-02-18 09:11:36 +00:00
X86 [MC] Use the non-EH register mapping in the debug_frame section. 2015-02-26 19:48:07 +00:00