hanchenye-llvm-project/lld/lib
Nick Kledzik 21921375cc [mach-o] Add support for LC_DATA_IN_CODE
Sometimes compilers emit data into code sections (e.g. constant pools or
jump tables). These runs of data can throw off disassemblers.  The solution
in mach-o is that ranges of data-in-code are encoded into a table pointed to
by the LC_DATA_IN_CODE load command.

The way the data-in-code information is encoded into lld's Atom model is that
that start and end of each data run is marked with a Reference whose offset
is the start/end of the data run.  For arm, the switch back to code also marks
whether it is thumb or arm code.

llvm-svn: 213901
2014-07-24 23:06:56 +00:00
..
Core Change the signature of insertElementAt and rename addInputElementFront 2014-07-24 00:08:22 +00:00
Driver Change the signature of insertElementAt and rename addInputElementFront 2014-07-24 00:08:22 +00:00
Passes Move GOTPass and StubsPass from Core to MachO 2014-07-09 21:04:24 +00:00
ReaderWriter [mach-o] Add support for LC_DATA_IN_CODE 2014-07-24 23:06:56 +00:00
CMakeLists.txt
Makefile Initial set of Makefiles 2014-06-04 09:54:07 +00:00