Vedant Kumar
|
a0149b5f2f
Revert "More fixes to get good error messages for bad archives."
|
9 years ago |
Kevin Enderby
|
d5adfbcabc
More fixes to get good error messages for bad archives.
|
9 years ago |
David Blaikie
|
4c028797dc
Simplify some code found when it was moved in r277177
|
9 years ago |
Kevin Enderby
|
ebd83360ff
Think this will fix issues with the error messages generated for malformed-archives.test
|
9 years ago |
Kevin Enderby
|
2a7151766d
The next step along the way to getting good error messages for bad archives.
|
9 years ago |
Kevin Enderby
|
dc02554240
Next step along the way to getting good error messages for bad archives.
|
9 years ago |
Lang Hames
|
780954376e
[Support] Make ErrorAsOutParameter take an Error* rather than an Error&.
|
9 years ago |
Kevin Enderby
|
fa9076153b
Next step along the way to getting good error messages for bad archives.
|
9 years ago |
Lang Hames
|
36105c0dde
[Object] Change Archive::findSym to return an Expected<Optional<Child>>.
|
9 years ago |
Lang Hames
|
aacf2fbfe4
[Object] Re-apply r275316 now that I have the corresponding LLD patch ready.
|
9 years ago |
Lang Hames
|
5daf897d80
[Object] Revert r275316, Archive::child_iterator changes, while I update lld.
|
9 years ago |
Lang Hames
|
9b42acafff
[Object] Change Archive::child_iterator for better interop with Error/Expected.
|
9 years ago |
Saleem Abdulrasool
|
e88f1b3430
Object: support empty UID/GID fields
|
9 years ago |
Kevin Enderby
|
0b21d88fd3
Change Archive::create() from ErrorOr<...> to Expected<...> and update
|
9 years ago |
Rafael Espindola
|
c0b76e3114
Make sure Format is always initialized.
|
9 years ago |
Kevin Enderby
|
68806ff6b6
Add support for Darwin’s static library table of contents with 64-bit offsets to the archive members.
|
9 years ago |
Kevin Enderby
|
77be094e2f
Change llvm-objdump, llvm-nm and llvm-size when reporting an object file error
|
9 years ago |
Rafael Espindola
|
4c7d166c37
Expose a getFullName for thin archive members.
|
9 years ago |
Mehdi Amini
|
f6071e14c5
[NFC] Header cleanup
|
9 years ago |
Kevin Enderby
|
c6bf9be16d
Thread Expected<...> up from createMachOObjectFile() to allow llvm-objdump to produce a real error message
|
9 years ago |
Peter Collingbourne
|
c62e7cc2c4
Object: Correctly read thin archives containing absolute paths.
|
9 years ago |
Vedant Kumar
|
7e9bf0962b
Simplify users of StringRef::{l,r}trim (NFC)
|
9 years ago |
Kevin Enderby
|
268709a810
Reapply r250906 with many suggested updates from Rafael Espindola.
|
9 years ago |
Rafael Espindola
|
2356f2b5d9
This never returns end(), simplify to use Child instead of iterator. NFC.
|
9 years ago |
Rafael Espindola
|
d3ca239fe8
Don't store a Child to the first regular member.
|
9 years ago |
Rafael Espindola
|
2825a23253
Simplify handling of archive Symbol tables.
|
9 years ago |
Rafael Espindola
|
22258251b9
Simplify the handling of the archive string table.
|
9 years ago |
Kevin Enderby
|
da785374d9
Backing out commit r250906 as it broke lld.
|
9 years ago |
Kevin Enderby
|
e36c14fbed
This removes the eating of the error in Archive::Child::getSize() when the characters
|
9 years ago |
Kevin Enderby
|
1cd4c56bf6
Tweak to r250117 and change to use ErrorOr and drop isSizeValid for
|
10 years ago |