Alexey Samsonov
64188f9f2b
Make a switch in createBinary fully-covered. Add forgotten macho_dsym_companion case.
...
llvm-svn: 185139
2013-06-28 09:44:05 +00:00
Alexey Samsonov
e6388e622e
Basic support for parsing Mach-O universal binaries in LLVMObject library
...
llvm-svn: 184191
2013-06-18 15:03:28 +00:00
Rui Ueyama
82ebd8e36d
readobj: Dump PE/COFF optional records.
...
These records are mandatory for executables and are used by the loader.
Reviewers: rafael
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D939
llvm-svn: 183852
2013-06-12 19:10:33 +00:00
Rafael Espindola
110801addc
Convert a use of sys::identifyFileType to sys::fs::identify_magic.
...
No functionality change.
llvm-svn: 183745
2013-06-11 14:39:59 +00:00
Rafael Espindola
1dc43065a7
Pass a StringRef to sys::identifyFileType.
...
llvm-svn: 183669
2013-06-10 15:27:39 +00:00
Sean Silva
4bf5c4b746
Don't artifically restrict input object size.
...
sys::IdentifyFileType is already conscious of the length, and
object_error::invalid_file_type is returned below anyway if
sys::IdentifyFileType doesn't recognize the file.
llvm-svn: 183605
2013-06-08 04:32:59 +00:00
Michael J. Spencer
159970f733
Object: Add support for opening stdin.
...
llvm-svn: 141449
2011-10-08 00:17:58 +00:00
Michael J. Spencer
d3b7b12618
Object: Add archive support.
...
llvm-svn: 140626
2011-09-27 19:36:55 +00:00
Michael J. Spencer
ec29b121ff
Make Binary the parent of ObjectFile and update children to new interface.
...
llvm-svn: 133870
2011-06-25 17:54:50 +00:00
Michael J. Spencer
b02c95d43e
Add Binary class. This is a cleaner parent than ObjectFile.
...
llvm-svn: 133869
2011-06-25 17:54:29 +00:00
Benjamin Kramer
975c29629f
Revert r132910 and r132909 on behalf of Michael. They didn't build with clang.
...
llvm-svn: 132914
2011-06-13 12:56:51 +00:00
Michael J. Spencer
aa41981dd8
Revert the last two commits in the series. r132911, r132912.
...
llvm-svn: 132913
2011-06-13 11:53:31 +00:00
Michael J. Spencer
a7f9c49aab
Make Binary the parent of ObjectFile and update children to new interface.
...
llvm-svn: 132911
2011-06-13 11:12:33 +00:00
Michael J. Spencer
7dc3c3de7e
Add Binary class. This is a cleaner parent than ObjectFile.
...
llvm-svn: 132910
2011-06-13 11:12:12 +00:00