llvm-project/llvm/test/MC
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
..
ARM Refactor data-in-code annotations. 2012-05-18 19:12:01 +00:00
AsmParser Add support for the .rept directive. Patch by Vladmir Sorokin. I added support 2012-05-12 16:31:10 +00:00
COFF Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnu 2012-03-25 09:02:19 +00:00
Disassembler Added the missing bit definition for the 4th bit of the STR (post reg) instruction. It is now set to 0. The patch also sets the unpredictable mask for SEL and SXTB-type instructions. 2012-05-11 09:28:27 +00:00
ELF ELF: Add support for the asm .version directive. 2012-05-12 14:30:47 +00:00
MBlaze Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnu 2012-03-25 09:02:19 +00:00
MachO Refactor data-in-code annotations. 2012-05-18 19:12:01 +00:00
Mips Make the following changes in MipsAsmPrinter.cpp: 2012-05-12 00:48:43 +00:00
X86 Add retw and lretw instructions. Also, fix Intel syntax parsing for all 2012-04-11 01:10:53 +00:00