1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 15:32:52 +01:00
llvm-mirror/test/MC/MachO
Jim Grosbach 343a996ca5 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
absolutize.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
comm-1.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
darwin-complex-difference.s MC/Expr: Implemnt more aggressive folding during symbol evaluation using 2010-12-17 05:50:33 +00:00
darwin-x86_64-diff-reloc-assign.s Fixed a crash in llvm-mc for Mach-O when a symbol difference expression uses a 2012-01-31 23:02:57 +00:00
darwin-x86_64-diff-relocs.s Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
darwin-x86_64-nobase-relocs.s Fix a Darwin x86_64 special case of a jmp to a temporary symbol from an atom 2011-09-08 20:53:44 +00:00
darwin-x86_64-reloc-offsets.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
darwin-x86_64-reloc.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
data.s
debug_frame.s Some autoconf tests use module level inline asm to test compiler's handling of 2011-08-24 22:31:37 +00:00
diff-with-two-sections.s Fix absolute recording of differences of symbols in two sections. Reduced from ctor_dtor_count-2.cpp. 2010-12-07 17:12:32 +00:00
direction_labels.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
empty-dwarf-lines.s Second try at making direct object emission produce the same results 2010-12-06 17:27:56 +00:00
file.s Fixed a bug in the code to create a dwarf file and directory table entires when 2011-11-01 23:39:05 +00:00
gen-dwarf.s Various crash reporting tools have a problem with the dwarf generated for 2012-01-10 17:52:29 +00:00
indirect-symbols.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
jcc.s Change section_data dumping to print hex numbers instead of using 2010-09-11 15:25:58 +00:00
lcomm-attributes.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
lit.local.cfg Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnu 2012-03-25 09:02:19 +00:00
loc.s Add reduced test from 8845. 2010-12-22 21:15:13 +00:00
pcrel-to-other-section.s Fix pcrel relocations that cross sections. 2010-12-07 03:50:14 +00:00
relax-jumps.s Change section_data dumping to print hex numbers instead of using 2010-09-11 15:25:58 +00:00
relax-recompute-align.s Relax alignment fragments. 2010-12-15 08:45:53 +00:00
reloc-diff.s MC/Mach-O: Use the SECTDIFF relocation type for (A - B + constant) where A is external. 2010-03-10 00:58:25 +00:00
reloc-pcrel-offset.s MC tweak symbol difference resolution for non-local symbols. 2012-01-17 22:14:39 +00:00
reloc-pcrel.s MC tweak symbol difference resolution for non-local symbols. 2012-01-17 22:14:39 +00:00
reloc.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
section-align-1.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
section-align-2.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
section-attributes.s MC/Mach-O: Fix regression introduced in r126127, this assignment shouldn't have 2011-03-17 16:25:24 +00:00
section-flags.s
string-table.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
symbol-diff.s Fix a crash reduced from gcc produced assembly. 2010-12-07 01:09:54 +00:00
symbol-flags.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
symbol-indirect.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
symbols-1.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
tbss.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
tdata.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
temp-labels.s MC: Add support for disabling "temporary label" behavior. Useful for debugging 2011-03-28 22:49:15 +00:00
thread_init_func.s Change section_data dumping to print hex numbers instead of using 2010-09-11 15:25:58 +00:00
tls.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
tlv-reloc.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
tlv.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
values.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
variable-errors.s MCAsmLayout: Add support for computing the symbol offset of variables. Not 2011-04-29 18:20:20 +00:00
variable-exprs.s MC: Change variable symbols to be recognized as defined, by assigning their sections based on FindAssociatedSection(). 2011-04-29 18:20:17 +00:00
weakdef.s Fix relocations with weak definitions. 2010-12-07 05:57:28 +00:00
x86_32-optimal_nop.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
x86_32-sections.s MC/Mach-O: Initial x86_64 support. 2010-03-13 22:10:17 +00:00
x86_32-symbols.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
x86_64-reloc-arithmetic.s MachOWriter: Don't crash on fixups with arithmetic, emit a relocation instead. This matches what as does. 2011-08-12 01:51:29 +00:00
x86_64-sections.s MC/Mach-O: Initial x86_64 support. 2010-03-13 22:10:17 +00:00
x86_64-symbols.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
zerofill-1.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
zerofill-2.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
zerofill-3.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
zerofill-4.s MC/Macho-O: Align the zerofill section itself to the maximum alignment. 2010-03-08 22:03:42 +00:00
zerofill-5.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
zerofill-sect-align.s MC/Macho-O: Align the zerofill section itself to the maximum alignment. 2010-03-08 22:03:42 +00:00