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
..
2010-09-17 21:46:16 +00:00
2012-04-10 03:15:42 +00:00
2012-02-28 02:08:50 +00:00
2011-03-14 21:05:21 +00:00
2010-09-02 20:19:24 +00:00
2010-03-14 18:42:52 +00:00
2011-12-19 23:26:44 +00:00
2011-12-19 23:26:44 +00:00
2012-04-16 20:56:42 +00:00
2012-04-16 20:56:42 +00:00
2012-04-27 02:11:10 +00:00
2011-11-14 18:03:05 +00:00
2009-10-21 08:15:52 +00:00
2011-11-29 23:09:16 +00:00
2011-11-29 23:09:16 +00:00
2010-10-22 22:04:28 +00:00
2012-03-20 21:49:54 +00:00
2011-03-15 01:49:08 +00:00
2011-04-01 03:36:33 +00:00
2011-11-12 22:39:34 +00:00
2011-07-26 20:49:44 +00:00
2010-08-30 23:41:49 +00:00
2010-11-29 22:39:38 +00:00
2009-09-15 20:58:02 +00:00
2009-09-15 20:58:02 +00:00
2009-10-07 20:51:42 +00:00