Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | MachOObjectFile: Change isSectionText to return true for sections named ↵ | Benjamin Kramer | 2011-07-15 | 1 | -4/+3 | |
| | | | | | | text, not for load commands name __TEXT (which isn't the case in actual object files) llvm-svn: 135228 | |||||
* | Use memcmp. | Benjamin Kramer | 2011-07-05 | 1 | -3/+1 | |
| | | | | llvm-svn: 134439 | |||||
* | Really fix typo :-( | Rafael Espindola | 2011-07-05 | 1 | -1/+1 | |
| | | | | llvm-svn: 134436 | |||||
* | Fix typo. | Rafael Espindola | 2011-07-05 | 1 | -2/+2 | |
| | | | | llvm-svn: 134433 | |||||
* | Compare all 4 bytes of the header. | Rafael Espindola | 2011-07-05 | 1 | -2/+3 | |
| | | | | llvm-svn: 134427 | |||||
* | Fix warnings. | Michael J. Spencer | 2011-07-05 | 1 | -3/+3 | |
| | | | | llvm-svn: 134408 | |||||
* | Object: Add proper error handling. | Michael J. Spencer | 2011-06-25 | 5 | -192/+425 | |
| | | | | llvm-svn: 133872 | |||||
* | Make Binary the parent of ObjectFile and update children to new interface. | Michael J. Spencer | 2011-06-25 | 5 | -152/+91 | |
| | | | | llvm-svn: 133870 | |||||
* | Add Binary class. This is a cleaner parent than ObjectFile. | Michael J. Spencer | 2011-06-25 | 2 | -0/+51 | |
| | | | | llvm-svn: 133869 | |||||
* | Add Object/Error. | Michael J. Spencer | 2011-06-25 | 2 | -0/+56 | |
| | | | | llvm-svn: 133868 | |||||
* | Revert r132910 and r132909 on behalf of Michael. They didn't build with clang. | Benjamin Kramer | 2011-06-13 | 3 | -107/+0 | |
| | | | | llvm-svn: 132914 | |||||
* | Revert the last two commits in the series. r132911, r132912. | Michael J. Spencer | 2011-06-13 | 5 | -91/+152 | |
| | | | | llvm-svn: 132913 | |||||
* | Make Binary the parent of ObjectFile and update children to new interface. | Michael J. Spencer | 2011-06-13 | 5 | -152/+91 | |
| | | | | llvm-svn: 132911 | |||||
* | Add Binary class. This is a cleaner parent than ObjectFile. | Michael J. Spencer | 2011-06-13 | 2 | -0/+51 | |
| | | | | llvm-svn: 132910 | |||||
* | Add Object/Error. | Michael J. Spencer | 2011-06-13 | 2 | -0/+56 | |
| | | | | llvm-svn: 132909 | |||||
* | Fix spelling and sort CMakeLists.txt. | Michael J. Spencer | 2011-06-13 | 1 | -2/+2 | |
| | | | | llvm-svn: 132908 | |||||
* | Remove dead variable pointed out by GCC 4.6 warnings, and reflow this a little | Nick Lewycky | 2011-05-02 | 1 | -4/+1 | |
| | | | | | | to scope a variable more tightly per llvm coding style. No functional change. llvm-svn: 130684 | |||||
* | Use enums for constant values. | Eric Christopher | 2011-04-22 | 1 | -12/+13 | |
| | | | | llvm-svn: 129984 | |||||
* | Make the file format strings a little prettier for mach-o. | Eric Christopher | 2011-04-22 | 1 | -16/+12 | |
| | | | | llvm-svn: 129980 | |||||
* | Add MachOObjectFile.cpp to cmake. | Eric Christopher | 2011-04-22 | 1 | -0/+1 | |
| | | | | llvm-svn: 129978 | |||||
* | Hook in mach-o object files into Object interface. | Eric Christopher | 2011-04-22 | 1 | -1/+1 | |
| | | | | llvm-svn: 129976 | |||||
* | Add an ObjectFile implementation for mach-o. | Eric Christopher | 2011-04-22 | 1 | -0/+330 | |
| | | | | | | Patch by Patrick Walton! llvm-svn: 129974 | |||||
* | Start migrating mach-o dumping facilities to the object file out of a | Eric Christopher | 2011-04-03 | 1 | -0/+28 | |
| | | | | | | separate executable. llvm-svn: 128801 | |||||
* | Move Object.cpp out of VMCore and into Object. | Eric Christopher | 2011-04-03 | 2 | -0/+60 | |
| | | | | llvm-svn: 128800 | |||||
* | Assorted bugfixes in object file handling: | Eric Christopher | 2011-04-03 | 2 | -2/+20 | |
| | | | | | | | | | | | | | | | | | | | | | | | - Adds support for sniffing PE/COFF files on win32 (.exe and .dll) which are COFF files that have an MS-DOS compatibility stub on the front of them. - Fixes a bug in the COFFObjectFile's support for the Microsoft COFF extension for long symbol names, wherein it was attempting to parse the leading '/' in an extended symbol name reference as part of the integer offset. - Fixes bugs in COFFObjectFile and ELFObjectFile wherein section and symbol iterators were being returned with uninitialized bytes; the type DataRefImpl is a union between 2 32-bit words (d.a and d.b) and a single intptr_t word (p). Only p was being initialized, so in 32-bit builds the result would be iterators with random upper 32-bit words in their DataRefImpls. This caused random failures when seeking around in object files. Patch by Graydon Hoare! llvm-svn: 128799 | |||||
* | Object: Fix type punned pointer issues by making DataRefImpl a union and ↵ | Michael J. Spencer | 2011-01-21 | 2 | -83/+68 | |
| | | | | | | using intptr_t. llvm-svn: 123962 | |||||
* | Object: Add ELF support. | Michael J. Spencer | 2011-01-20 | 3 | -1/+708 | |
| | | | | llvm-svn: 123896 | |||||
* | Object: Add COFF Support. | Michael J. Spencer | 2011-01-20 | 3 | -1/+372 | |
| | | | | llvm-svn: 123895 | |||||
* | Fix mismatched new[]/delete. | Benjamin Kramer | 2010-12-17 | 1 | -1/+1 | |
| | | | | llvm-svn: 122053 | |||||
* | MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> ↵ | Michael J. Spencer | 2010-12-16 | 1 | -2/+5 | |
| | | | | | | via an out parm. llvm-svn: 121958 | |||||
* | Mach-O: Tweak field name. | Daniel Dunbar | 2010-12-10 | 1 | -1/+1 | |
| | | | | llvm-svn: 121465 | |||||
* | Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with ↵ | Michael J. Spencer | 2010-12-09 | 1 | -1/+3 | |
| | | | | | | error_code &ec. And fix clients. llvm-svn: 121379 | |||||
* | Merge System into Support. | Michael J. Spencer | 2010-11-29 | 2 | -3/+3 | |
| | | | | llvm-svn: 120298 | |||||
* | macho-dump: Add support for --dump-section-data and tweak a few format strings. | Daniel Dunbar | 2010-11-27 | 1 | -0/+4 | |
| | | | | llvm-svn: 120219 | |||||
* | macho-dump: Add support for dumping symbol table entries. | Daniel Dunbar | 2010-11-27 | 1 | -0/+28 | |
| | | | | llvm-svn: 120218 | |||||
* | macho-dump: Add support for dumping string table data. | Daniel Dunbar | 2010-11-27 | 1 | -1/+7 | |
| | | | | llvm-svn: 120217 | |||||
* | macho-dump: Add support for dumping relocation entries. | Daniel Dunbar | 2010-11-27 | 1 | -0/+13 | |
| | | | | llvm-svn: 120216 | |||||
* | macho-dump: Add support for dumping sections. | Daniel Dunbar | 2010-11-27 | 1 | -0/+46 | |
| | | | | llvm-svn: 120215 | |||||
* | macho-dump: Add support for dumping dysymtab indirect symbol table. | Daniel Dunbar | 2010-11-27 | 1 | -0/+13 | |
| | | | | llvm-svn: 120214 | |||||
* | Unbreak build for newer GCCs. | Benjamin Kramer | 2010-11-27 | 1 | -4/+4 | |
| | | | | llvm-svn: 120205 | |||||
* | macho-dump: Add support for dumping symtab and dysymtab commands. | Daniel Dunbar | 2010-11-27 | 1 | -0/+42 | |
| | | | | llvm-svn: 120204 | |||||
* | macho-dump: Add support for dumping segment load commands. | Daniel Dunbar | 2010-11-27 | 1 | -0/+68 | |
| | | | | llvm-svn: 120203 | |||||
* | Object/Mach-O: Add header and load command information. | Daniel Dunbar | 2010-11-27 | 1 | -3/+80 | |
| | | | | llvm-svn: 120198 | |||||
* | Object/Mach-O: Validate Mach-O magic and initialize format info. | Daniel Dunbar | 2010-11-27 | 1 | -2/+24 | |
| | | | | llvm-svn: 120195 | |||||
* | MC/Mach-O: Start stubbing out a Mach-O object file wrapper. | Daniel Dunbar | 2010-11-27 | 2 | -0/+24 | |
| | | | | llvm-svn: 120190 | |||||
* | Fix typo: Exectuable -> Executable | Peter Collingbourne | 2010-11-17 | 1 | -1/+1 | |
| | | | | llvm-svn: 119433 | |||||
* | Object: Get rid of sys::Path, Triple, and cleanup namespace. | Michael J. Spencer | 2010-11-16 | 1 | -7/+5 | |
| | | | | llvm-svn: 119309 | |||||
* | Object: Add missing makefile. | Michael J. Spencer | 2010-11-15 | 1 | -0/+14 | |
| | | | | llvm-svn: 119110 | |||||
* | Add LLVMObject Library. | Michael J. Spencer | 2010-11-15 | 2 | -0/+71 | |
llvm-svn: 119107 |