summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/MachOObject.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [MC/Mach-O] Add support for linker options in Mach-O files.Daniel Dunbar2013-01-181-0/+11
| | | | llvm-svn: 172779
* Fix More CastsDavid Greene2013-01-141-1/+2
| | | | | | Fix another cast-away-const cast. llvm-svn: 172466
* Use the new script to sort the includes of every file under lib.Chandler Carruth2012-12-031-2/+2
| | | | | | | | | | | | | | | | | Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module include to be the nearest plausible thing I could find. If you own or care about any of these source files, I encourage you to take some time and check that these edits were sensible. I can't have broken anything (I strictly added headers, and reordered them, never removed), but they may not be the headers you'd really like to identify as containing the API being implemented. Many forward declarations and missing includes were added to a header files to allow them to parse cleanly when included first. The main module rule does in fact have its merits. =] llvm-svn: 169131
* Reverting r 160419.Galina Kistanova2012-07-191-2/+1
| | | | llvm-svn: 160525
* Fixed few warnings.Galina Kistanova2012-07-181-1/+2
| | | | llvm-svn: 160419
* Refactor data-in-code annotations.Jim Grosbach2012-05-181-0/+13
| | | | | | | | | | | | | | | | | | | | | | 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
* Remove trailing spacesEli Bendersky2012-01-221-2/+2
| | | | llvm-svn: 148654
* MachOObject: Use DataExtractor's uleb parser instead of rolling our own.Benjamin Kramer2011-11-051-21/+10
| | | | llvm-svn: 143810
* Teach macho-dump to dump the uleb128s referred to by linkedit_data segments.Benjamin Kramer2011-08-301-0/+26
| | | | llvm-svn: 138836
* Teach macho-dump how to dump linkedit_data load commands.Benjamin Kramer2011-08-301-0/+12
| | | | llvm-svn: 138807
* Start migrating mach-o dumping facilities to the object file out of aEric Christopher2011-04-031-0/+28
| | | | | | separate executable. llvm-svn: 128801
* Fix mismatched new[]/delete.Benjamin Kramer2010-12-171-1/+1
| | | | llvm-svn: 122053
* Mach-O: Tweak field name.Daniel Dunbar2010-12-101-1/+1
| | | | llvm-svn: 121465
* Merge System into Support.Michael J. Spencer2010-11-291-2/+2
| | | | llvm-svn: 120298
* macho-dump: Add support for --dump-section-data and tweak a few format strings.Daniel Dunbar2010-11-271-0/+4
| | | | llvm-svn: 120219
* macho-dump: Add support for dumping symbol table entries.Daniel Dunbar2010-11-271-0/+28
| | | | llvm-svn: 120218
* macho-dump: Add support for dumping string table data.Daniel Dunbar2010-11-271-1/+7
| | | | llvm-svn: 120217
* macho-dump: Add support for dumping relocation entries.Daniel Dunbar2010-11-271-0/+13
| | | | llvm-svn: 120216
* macho-dump: Add support for dumping sections.Daniel Dunbar2010-11-271-0/+46
| | | | llvm-svn: 120215
* macho-dump: Add support for dumping dysymtab indirect symbol table.Daniel Dunbar2010-11-271-0/+13
| | | | llvm-svn: 120214
* Unbreak build for newer GCCs.Benjamin Kramer2010-11-271-4/+4
| | | | llvm-svn: 120205
* macho-dump: Add support for dumping symtab and dysymtab commands.Daniel Dunbar2010-11-271-0/+42
| | | | llvm-svn: 120204
* macho-dump: Add support for dumping segment load commands.Daniel Dunbar2010-11-271-0/+68
| | | | llvm-svn: 120203
* Object/Mach-O: Add header and load command information.Daniel Dunbar2010-11-271-3/+80
| | | | llvm-svn: 120198
* Object/Mach-O: Validate Mach-O magic and initialize format info.Daniel Dunbar2010-11-271-2/+24
| | | | llvm-svn: 120195
* MC/Mach-O: Start stubbing out a Mach-O object file wrapper.Daniel Dunbar2010-11-271-0/+23
llvm-svn: 120190
OpenPOWER on IntegriCloud