Rui Ueyama
|
eae4673c2f
Remove object_error::success and use std::error_code() instead
|
10 years ago |
Rafael Espindola
|
64afb8375d
Simplify interface of function that doesn't fail.
|
10 years ago |
Justin Bogner
|
a4beb9e372
Object: Handle Mach-O kext bundle files
|
10 years ago |
Michael J. Spencer
|
b9f39bcc82
Support ELF files of unknown type.
|
10 years ago |
Rafael Espindola
|
548f2b6e8f
Don't own the buffer in object::Binary.
|
11 years ago |
Rafael Espindola
|
79002da926
Use std::unique_ptr to make the ownership explicit.
|
11 years ago |
Rafael Espindola
|
7cba2a973f
Update the MemoryBuffer API to use ErrorOr.
|
11 years ago |
Rafael Espindola
|
0d50598d71
Pass a unique_ptr<MemoryBuffer> to the constructors in the Binary hierarchy.
|
11 years ago |
Rafael Espindola
|
b138caba43
Pass a std::unique_ptr& to the create??? methods is lib/Object.
|
11 years ago |
Rafael Espindola
|
1f659329b6
Make ObjectFile and BitcodeReader always own the MemoryBuffer.
|
11 years ago |
Rafael Espindola
|
4e2b922131
Remove 'using std::errro_code' from lib.
|
11 years ago |
Rafael Espindola
|
5c792faa0e
Don't use 'using std::error_code' in include/llvm.
|
11 years ago |
Rafael Espindola
|
d5132f9073
Remove system_error.h.
|
11 years ago |
Ahmed Charles
|
f4ccd11075
Replace OwningPtr<T> with std::unique_ptr<T>.
|
11 years ago |
Ahmed Charles
|
1a6eca243f
[C++11] Replace OwningPtr::take() with OwningPtr::release().
|
11 years ago |
Aaron Ballman
|
84ace05e8c
Shankar kindly pointed out that I wasn't following the coding convention properly, so moving raw_ostream.h above system_error.h.
|
11 years ago |
Aaron Ballman
|
100aba293d
Fixing the MSVC build by including a file.
|
11 years ago |
Rafael Espindola
|
91f86b7e1c
Add a SymbolicFile interface between Binary and ObjectFile.
|
11 years ago |
Rafael Espindola
|
584fe2db6a
Make ObjectFile ownership of the MemoryBuffer optional.
|
11 years ago |
Rafael Espindola
|
2edc3a6b8d
Pass the computed magic to createBinary and createObjectFile if available.
|
11 years ago |
Rafael Espindola
|
825fc31bd3
Change createObjectFile to return an ErrorOr.
|
11 years ago |
Rafael Espindola
|
3d218156f8
Be a bit more consistent about using ErrorOr when constructing Binary objects.
|
11 years ago |
Rui Ueyama
|
8a631b2cbe
Path: Recognize COFF import library file magic.
|
11 years ago |
Rui Ueyama
|
b32b0376d4
Path: Recognize Windows compiled resource file.
|
12 years ago |
Rafael Espindola
|
7976842791
Delete the buffer in createObjectFile if it fails.
|
12 years ago |
Alexey Samsonov
|
9c22f87b13
Basic support for parsing Mach-O universal binaries in LLVMObject library
|
12 years ago |
Rafael Espindola
|
4fbf663302
Fix variable name style. Don't cast to and from int.
|
12 years ago |
Rafael Espindola
|
d27a9785d5
Convert another use of sys::identifyFileType.
|
12 years ago |
Rafael Espindola
|
f12745f7a7
Pass a StringRef to sys::identifyFileType.
|
12 years ago |
Rafael Espindola
|
7486d92a6c
Change how we iterate over relocations on ELF.
|
12 years ago |