History log of /external/llvm/include/llvm/MC/MCMachObjectWriter.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3e96531186ba574b0c25a4be62d24b8b7d752c9f 18-May-2012 Jim Grosbach <grosbach@apple.com> 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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157062 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCMachObjectWriter.h
ba8297ec08cdf7ae0c1e0c18ce07922e1f822643 25-Jun-2011 Jim Grosbach <grosbach@apple.com> Refactor MachO relocation generaration into the Target directories.

Move the target-specific RecordRelocation logic out of the generic MC
MachObjectWriter and into the target-specific object writers. This allows
nuking quite a bit of target knowledge from the supposedly target-independent
bits in lib/MC.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133844 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCMachObjectWriter.h
e1feeb9da41fd48002e363c6dbb0a3d7bf0b7811 21-Dec-2010 Daniel Dunbar <daniel@zuster.org> MC/Mach-O: Shuffle enums a bit to make it harder to inadvertently use the wrong
type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122334 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCMachObjectWriter.h
b87422778c4e7b828e6e846b81fd77509439c622 17-Dec-2010 Daniel Dunbar <daniel@zuster.org> MC/Mach-O: On second thought, use a custom hook for enabling aggressive
IsSymbolRefDifferenceFullyResolved, it turns out this does change behavior on
enough cases for x86-32 that I would rather wait a bit on it.
- In practice, we will want to change this eventually because it only means we
generate less relocations (it also eliminates the need for the horrible
'.set' hack that Darwin requires in some places).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122042 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCMachObjectWriter.h
5d05d9769ec98cdee359fd934a56c9455e21232b 16-Dec-2010 Daniel Dunbar <daniel@zuster.org> MC/Mach-O: Lift some MachObjectWriter arguments into the target specific

interface.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121981 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCMachObjectWriter.h
ae5abd595f5442767313a4c8a24008ad19323ceb 16-Dec-2010 Daniel Dunbar <daniel@zuster.org> MC/Mach-O: Stub out explicit MCMachObjectTargetWriter interface.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121973 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCMachObjectWriter.h
aa4b7dd13ba83152473950d7014a29686dc7eef6 16-Dec-2010 Daniel Dunbar <daniel@zuster.org> MC/Mach-O: Move createMachObjectWriter into MCMachObjectWriter.h.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121971 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCMachObjectWriter.h