llvm-project/llvm
Frederic Riss adbb3f207f [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
2015-02-26 19:48:07 +00:00
..
autoconf Support bitrig in autoconf build system. 2015-02-26 19:46:32 +00:00
bindings [PM] Remove the old 'PassManager.h' header file at the top level of 2015-02-13 10:01:29 +00:00
cmake [CMake] Fix the clang-cl self host build. 2015-02-25 20:42:19 +00:00
docs [GC docs] Add example IR, assembly, and stackmaps to Statepoint documentation 2015-02-26 01:18:21 +00:00
examples [Orc][Kaleidoscope] Fix a missed symbol mangling operation in the fully lazy tutorial. 2015-02-26 19:28:37 +00:00
include Use ".arch_extension" ARM directive to specify the additional CPU features 2015-02-26 18:07:35 +00:00
lib [MC] Use the non-EH register mapping in the debug_frame section. 2015-02-26 19:48:07 +00:00
projects
test [MC] Use the non-EH register mapping in the debug_frame section. 2015-02-26 19:48:07 +00:00
tools gold-plugin: "Upgrade" debug info and handle its warnings. 2015-02-26 18:24:37 +00:00
unittests Object: Handle Mach-O kext bundle files 2015-02-25 22:59:20 +00:00
utils FileCheck: Add CHECK-SAME 2015-02-26 04:53:00 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitignore Add one more vim swap file pattern 2015-01-30 21:59:28 +00:00
CMakeLists.txt [CMake] Set policy CMP0051 to OLD globally. 2015-02-24 23:32:47 +00:00
CODE_OWNERS.TXT Assume code ownership for the PS4 to ensure patches get reviewed, per the Developer Policy. 2015-01-28 18:33:39 +00:00
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
Makefile
Makefile.common
Makefile.config.in
Makefile.rules
README.txt Revert test commit 2015-02-04 18:46:00 +00:00
configure Support bitrig in autoconf build system. 2015-02-26 19:46:32 +00:00
llvm.spec.in

README.txt

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you're writing a package for LLVM, see docs/Packaging.rst for our
suggestions.