History log of /external/llvm/include/llvm/Object/MachOFormat.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
97defc37d66d678bbca4a23d522f0942f7431db9 21-Aug-2012 Richard Smith <richard-llvm@metafoo.co.uk> Fix misaligned access in MachO object file reader: despite containing an
int64_t, Symbol64TableEntry is actually only stored with 4-byte alignment
within the file.

The usage of #pragma pack here is copied from the corresponding code in
Support/Endian.h, so shouldn't introduce any new portability problems.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162312 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/MachOFormat.h
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/Object/MachOFormat.h
9942acab0a42755637a682308c8262b88cbbb9e9 30-Aug-2011 Benjamin Kramer <benny.kra@googlemail.com> Teach macho-dump how to dump linkedit_data load commands.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138807 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/MachOFormat.h
b84fe78d341aa525b840ccff5f10cb003748aa09 04-Feb-2011 Bob Wilson <bob.wilson@apple.com> Edit a comment for consistency.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124829 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/MachOFormat.h
f3eb3bba1614a7935b44fc963a805088d71267f3 14-Jan-2011 Evan Cheng <evan.cheng@apple.com> Completed :lower16: / :upper16: support for movw / movt pairs on Darwin.
- Fixed :upper16: fix up routine. It should be shifting down the top 16 bits first.
- Added support for Thumb2 :lower16: and :upper16: fix up.
- Added :upper16: and :lower16: relocation support to mach-o object writer.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123424 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/MachOFormat.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/Object/MachOFormat.h
cdffa4fdc91280a517dd3a34b8a06ebdb6ef53fa 10-Dec-2010 Daniel Dunbar <daniel@zuster.org> Mach-O/ARM: Add relocation type enumeration.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121467 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/MachOFormat.h
a87d7ec234e1d4a31f4403ee9495d7700e6a593c 10-Dec-2010 Daniel Dunbar <daniel@zuster.org> Mach-O: Tweak field name.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121465 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/MachOFormat.h
1f6efa3996dd1929fbc129203ce5009b620e6969 29-Nov-2010 Michael J. Spencer <bigcheesegs@gmail.com> Merge System into Support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/MachOFormat.h
2208b58b83392b2a3558e556c7447b13c3aea857 27-Nov-2010 Daniel Dunbar <daniel@zuster.org> macho-dump: Add support for dumping symbol table entries.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120218 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/MachOFormat.h
90e3e3a429e75a7d3671afcc30ed376b6186fd58 27-Nov-2010 Daniel Dunbar <daniel@zuster.org> macho-dump: Add support for dumping relocation entries.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120216 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/MachOFormat.h
2acadbddf6783055249da9fc9ea40a05b83ce56a 27-Nov-2010 Daniel Dunbar <daniel@zuster.org> macho-dump: Add support for dumping sections.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120215 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/MachOFormat.h
4c55e0db0f0a095dcd76326bef24d0fe05d2a5e4 27-Nov-2010 Daniel Dunbar <daniel@zuster.org> macho-dump: Add support for dumping dysymtab indirect symbol table.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120214 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/MachOFormat.h
f879f14cef93fe51ee8c180be7acf70294807b8f 27-Nov-2010 Daniel Dunbar <daniel@zuster.org> macho-dump: Add support for dumping symtab and dysymtab commands.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120204 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/MachOFormat.h
4ba1f5e0011fa0c17ff121634bf8e88270f3b52e 27-Nov-2010 Daniel Dunbar <daniel@zuster.org> macho-dump: Add support for dumping segment load commands.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120203 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/MachOFormat.h
a956d8b71755b908d8a150736e8857d2214060c6 27-Nov-2010 Daniel Dunbar <daniel@zuster.org> Object/Mach-O: Add header and load command information.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120198 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/MachOFormat.h
f52788f4e6951ac8b6e46100eb5ee6a0a4244a00 27-Nov-2010 Daniel Dunbar <daniel@zuster.org> MC/Mach-O: Migrate more constants into MachOFormat.h.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120188 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/MachOFormat.h
821ecd7c9060a98e3559c11d66e4bfb6e957a91e 27-Nov-2010 Daniel Dunbar <daniel@zuster.org> MC/Mach-O: Introduce Object/MachOFormat for describing purely platform / machine
independent information on the Mach object format, and move some stuff from
MachObjectWriter.cpp there.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120186 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/MachOFormat.h