Michael J. Spencer
73b10e00ef
[Object][Archive] Fix name handling with bsd style long names.
...
llvm-svn: 172026
2013-01-10 01:05:34 +00:00
Michael J. Spencer
ef497c3bba
[Object][Archive] Apparently StringRef::getAsInteger for APInt accepts spaces.
...
llvm-svn: 172022
2013-01-10 00:07:38 +00:00
Michael J. Spencer
1ef7ed2a3d
[Object][Archive] Use uint64_t instead of APInt. It is significantly faster.
...
llvm-svn: 172015
2013-01-09 22:58:43 +00:00
Chandler Carruth
a490793037
Use the new script to sort the includes of every file under lib.
...
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
2012-12-03 16:50:05 +00:00
Matt Beaumont-Gay
2c3f2d564d
s/assert/llvm_unreachable/
...
llvm-svn: 167936
2012-11-14 17:58:11 +00:00
Matt Beaumont-Gay
ddc09cb0a2
Fix broken asserts. Also, spell 'indices' correctly.
...
llvm-svn: 167894
2012-11-14 00:21:27 +00:00
Michael J. Spencer
3a44951466
[Object] Fix endianess bug by refactoring Archive::Symbol::getMember.
...
llvm-svn: 167893
2012-11-14 00:04:13 +00:00
Shankar Easwaran
f934185b04
Adding changes to support GNU style archive library reading
...
llvm-svn: 167853
2012-11-13 18:38:42 +00:00
Dmitri Gribenko
6319fd5eb8
Convert comments to proper Doxygen comments.
...
llvm-svn: 158248
2012-06-09 00:01:45 +00:00
Craig Topper
936702e142
Mark some static arrays as const.
...
llvm-svn: 157377
2012-05-24 06:35:32 +00:00
David Meyer
c6de5a081b
[Object]
...
Make Binary::TypeID more granular, to distinguish between ELF 32/64 little/big
llvm-svn: 152435
2012-03-09 20:41:57 +00:00
Benjamin Kramer
4d0ae7cfef
Remove static ctor.
...
llvm-svn: 151160
2012-02-22 13:42:11 +00:00
David Blaikie
576aba04f1
Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch
...
llvm-svn: 146960
2011-12-20 02:50:00 +00:00
Benjamin Kramer
26ed5d6390
Simplify code.
...
llvm-svn: 143695
2011-11-04 13:52:17 +00:00
Chad Rosier
8a1a2adbb7
Removed unused variable.
...
llvm-svn: 143591
2011-11-02 23:21:55 +00:00
Michael J. Spencer
c059c6c5b9
Object/Archive: Add symbol table iteration.
...
llvm-svn: 143561
2011-11-02 19:33:12 +00:00
Michael J. Spencer
03ffc01ea6
Object/Archive: Cleanup anon namespace.
...
llvm-svn: 142983
2011-10-25 22:31:11 +00:00
Michael J. Spencer
6f6b8f7b4d
Object/Archive: Add BSD style long file name support and skip internal members.
...
llvm-svn: 142981
2011-10-25 22:30:42 +00:00
NAKAMURA Takumi
2a3eab692a
lib/Object: Suppress warnings on gcc-4.3.4 cygwin
...
llvm-svn: 141485
2011-10-08 11:22:53 +00:00
Michael J. Spencer
1acd078990
Object: constize Archive.
...
llvm-svn: 141448
2011-10-08 00:17:45 +00:00
Michael J. Spencer
82f9fa9d9a
Object: Add archive support.
...
llvm-svn: 140626
2011-09-27 19:36:55 +00:00