llvm-project/llvm/lib/Object
Jim Grosbach 4b63d2ae1d Refactor data-in-code annotations.
Use a dedicated MachO load command to annotate data-in-code regions.
This is the same format the linker produces for final executable images,
allowing consistency of representation and use of introspection tools
for both object and executable files.

Data-in-code regions are annotated via ".data_region"/".end_data_region"
directive pairs, with an optional region type.

data_region_directive := ".data_region" { region_type }
region_type := "jt8" | "jt16" | "jt32" | "jta32"
end_data_region_directive := ".end_data_region"

The previous handling of ARM-style "$d.*" labels was broken and has
been removed. Specifically, it didn't handle ARM vs. Thumb mode when
marking the end of the section.

rdar://11459456

llvm-svn: 157062
2012-05-18 19:12:01 +00:00
..
Archive.cpp [Object] 2012-03-09 20:41:57 +00:00
Binary.cpp Object: Add support for opening stdin. 2011-10-08 00:17:58 +00:00
CMakeLists.txt build/CMake: Finish removal of add_llvm_library_dependencies. 2011-11-29 19:25:30 +00:00
COFFObjectFile.cpp This patch improves the MCJIT runtime dynamic loader by adding new handling 2012-04-12 20:13:57 +00:00
ELFObjectFile.cpp Implement GDB integration for source level debugging of code JITed using 2012-04-16 22:12:58 +00:00
Error.cpp Object: Add proper error handling. 2011-06-25 17:55:23 +00:00
LLVMBuild.txt Object: drop bogus VMCore dependency 2012-04-03 15:48:10 +00:00
MachOObject.cpp Refactor data-in-code annotations. 2012-05-18 19:12:01 +00:00
MachOObjectFile.cpp Fix the implementation of MachOObjectFile::isSectionZeroInit so it follows the MachO spec. 2012-05-02 02:31:28 +00:00
Makefile
Object.cpp Fixed ObjectFile functions: 2011-11-29 17:40:10 +00:00
ObjectFile.cpp Remove unused variables. 2011-12-25 01:20:19 +00:00