| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*.
This patch is contributed by Gabor Greif, thanks!
llvm-svn: 20597
|
|
|
|
| |
llvm-svn: 20507
|
|
|
|
| |
llvm-svn: 20472
|
|
|
|
| |
llvm-svn: 20463
|
|
|
|
| |
llvm-svn: 20343
|
|
|
|
|
|
|
| |
bytecode file members or not.
Patch Contributed By Adam Treat
llvm-svn: 20338
|
|
|
|
| |
llvm-svn: 20297
|
|
|
|
|
|
|
|
| |
both cases they are looking for non-external variables/functions that do
not have internal linkage. Using "!isExternal()" is a little more
understandable than "hasInitializer()"
llvm-svn: 20155
|
|
|
|
|
|
|
|
|
| |
Otherwise, clients who call ParseAllFunctionBodies will attempt to parse
the function bodies twice, which is (uh) very very bad (tm).
This fixes gccld on python.
llvm-svn: 20152
|
|
|
|
|
|
|
|
| |
table for archives in common cases, and prevents trying to resolve a
external reference with an internal reference. This shrinks the libpython.a
symbol table from 126302 to 19770 bytes.
llvm-svn: 20151
|
|
|
|
|
|
|
| |
LLVM make the very reasonable assumption that constant expressions will
have at least one operand! :)
llvm-svn: 19943
|
|
|
|
| |
llvm-svn: 19894
|
|
|
|
| |
llvm-svn: 19863
|
|
|
|
| |
llvm-svn: 19751
|
|
|
|
| |
llvm-svn: 19172
|
|
|
|
|
|
|
| |
Remove unix specific code (use of errno and read) from the reader.
Thanks to Jeff Cohen for pointing this out.
llvm-svn: 19081
|
|
|
|
| |
llvm-svn: 19067
|
|
|
|
| |
llvm-svn: 19056
|
|
|
|
|
|
|
| |
* Remove #inclusion of FileUtilities.h, not needed any more.
* Convert getUniqueFilename -> sys::Pat::makeUnique()
llvm-svn: 18948
|
|
|
|
|
|
|
|
| |
Use sys::MappedFile instead of ReadFileIntoAddressSpace and
UnmapFileFromAddressSpace. sys::MappedFile has the nice property that it
cleans up after itself so exception handling can be removed.
llvm-svn: 18902
|
|
|
|
| |
llvm-svn: 18869
|
|
|
|
| |
llvm-svn: 18853
|
|
|
|
| |
llvm-svn: 18785
|
|
|
|
|
|
| |
avoid a getType.
llvm-svn: 18691
|
|
|
|
| |
llvm-svn: 18686
|
|
|
|
|
|
|
|
|
|
|
|
| |
a different algorithm that was extremely inefficient for instructions with
many operands.
This reduces the time of this code snippet from .23s for 176.gcc to 0.03s
in a debug build, which speeds up total llvm-dis time just barely.
It's more of a code cleanup than a speedup.
llvm-svn: 18685
|
|
|
|
|
|
| |
unresolved constants remaining.
llvm-svn: 18502
|
|
|
|
| |
llvm-svn: 18500
|
|
|
|
|
|
|
| |
so lets wierd ConstantPlaceholder objects sneak into the system which
confuses it greatly.
llvm-svn: 18487
|
|
|
|
| |
llvm-svn: 18386
|
|
|
|
| |
llvm-svn: 18300
|
|
|
|
| |
llvm-svn: 18249
|
|
|
|
| |
llvm-svn: 18179
|
|
|
|
| |
llvm-svn: 18097
|
|
|
|
| |
llvm-svn: 18044
|
|
|
|
|
|
|
|
| |
member's size. It is based on the oddness/evenness of the file pointer.
This fixes a bug with llvm-ar not being able to read archives produced by
llvm-ranlib when there are members with odd long file name lengths.
llvm-svn: 17997
|
|
|
|
| |
llvm-svn: 17991
|
|
|
|
| |
llvm-svn: 17981
|
|
|
|
|
|
| |
eliminate symbols defined by the archive efficiently
llvm-svn: 17976
|
|
|
|
|
|
|
|
|
|
|
| |
* ensure trailing spaces are eliminated so they don't factor into the
length of a member's name.
* make sure all the bytes of a name are written even if the name ends in
multiple null characters (bug in OSX ar)
* make sure we provide the full member name when searching for symbols so
the module name is not accidentally duplicated.
llvm-svn: 17918
|
|
|
|
|
|
| |
name of the module: "Archive.a(object.o)"
llvm-svn: 17917
|
|
|
|
| |
llvm-svn: 17910
|
|
|
|
|
|
|
| |
*do* include the length of the long file in the length of the member and
they are *not* null terminated.
llvm-svn: 17909
|
|
|
|
| |
llvm-svn: 17892
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Make the numVbrBytes function more efficient and better documented \
* Fix a bug in name truncation \
* Add comments before functions \
* Get rid of functions that are now inlined into the header \
* Do not have Archive doing symbol table printing \
* Put assert comments into the assert so they print out \
* Make sure foreign symbol tables are written
llvm-svn: 17884
|
|
|
|
|
|
|
| |
* Make sure we write out the foreign symbol table if we read one \
* Make the padding calculation more efficiently and avoid Solaris warnings
llvm-svn: 17883
|
|
|
|
|
|
| |
* Make sure all members are initialized upon construction
llvm-svn: 17882
|
|
|
|
|
|
|
| |
* Get rid of memory leaks on exception \
* Provide better comments of how the memory handling works
llvm-svn: 17876
|
|
|
|
|
|
| |
bytecode files by about 8 bytes per external function
llvm-svn: 17859
|
|
|
|
|
|
| |
body for the function.
llvm-svn: 17858
|