| 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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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: 18785
|
|
|
|
| |
llvm-svn: 18097
|
|
|
|
|
|
|
| |
* Get rid of memory leaks on exception \
* Provide better comments of how the memory handling works
llvm-svn: 17876
|
|
|
|
| |
llvm-svn: 17811
|
|
|
|
| |
llvm-svn: 17770
|
|
|
|
|
|
| |
externally visible defined symbols from a bytecode file.
llvm-svn: 17503
|
|
|
|
| |
llvm-svn: 16298
|
|
|
|
| |
llvm-svn: 16297
|
|
|
|
| |
llvm-svn: 16281
|
|
|
|
|
|
|
|
| |
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.
llvm-svn: 16137
|
|
|
|
|
|
| |
file.
llvm-svn: 16037
|
|
|
|
|
|
|
|
| |
- Pass the output stream to the analyzer so it can write its output there
directly instead of buffering it.
- Don't pass a boolean to ParseBytecode because its not needed any more.
llvm-svn: 15983
|
|
|
|
|
|
| |
rid of compilation warnings on some platforms.
llvm-svn: 15512
|
|
|
|
|
|
|
|
| |
too soon so the function data was not getting dumped (it was generated
after the call handleFinish). Also cleaned up the output format for
proper indentation.
llvm-svn: 14627
|
|
|
|
| |
llvm-svn: 14601
|
|
|
|
|
|
| |
interface which is called by the reader if a BytecodeHandler is provided.
llvm-svn: 14493
|
|
|
|
|
|
| |
space
llvm-svn: 13864
|
|
|
|
| |
llvm-svn: 10650
|
|
|
|
|
|
| |
routines.
llvm-svn: 10642
|
|
|
|
|
|
| |
get an error inside the bytecode reader.
llvm-svn: 10415
|
|
|
|
| |
llvm-svn: 10081
|
|
|
|
| |
llvm-svn: 9903
|
|
|
|
|
|
| |
Header files will be on the way.
llvm-svn: 9298
|
|
|
|
|
|
|
| |
* More dense bytecode encoding for varargs calls (like printf)
* Eliminated the extremely old bytecode format. rev #0 is now 1.0
llvm-svn: 9220
|
|
|
|
| |
llvm-svn: 9183
|
|
|
|
| |
llvm-svn: 8969
|
|
|
|
|
|
| |
want you to include <sys/stat.h> for fstat(), struct stat, and friends.
llvm-svn: 8887
|
|
|
|
|
|
|
| |
and because, while the class used by the interface is abstract, the actual
concept is not.
llvm-svn: 8850
|
|
|
|
| |
llvm-svn: 8847
|
|
|
|
|
|
| |
This was causing us to munmap random stuff, which is obviously bad.
llvm-svn: 8709
|
|
|
|
| |
llvm-svn: 8707
|
|
|
|
| |
llvm-svn: 8704
|
|
|
|
|
|
|
| |
* Kill unused ALIN_PTRS #define
* Set the error string if user passed it in to be compatible with former API
llvm-svn: 8701
|
|
|
|
|
|
| |
the parsing routines regardless of whether the buffer is re-aligned or not.
llvm-svn: 8693
|
|
|
|
|
|
|
|
| |
* Make sure we align the buffer we're given
* Do not let exceptions propagate when the caller asks for a Module*
* Add doxygenified comments to wrapper functions
llvm-svn: 8682
|
|
|
|
|
|
| |
* Stop using a #define, make it an inline if statement
llvm-svn: 8678
|
|
|
|
| |
llvm-svn: 8675
|
|
- no more passing around a string pointer to set errors
- no more returning booleans and checking for errors, we use C++ exceptions
* Broke functionality into 2 new classes, one reads from file, one from a stream
* Implemented lazy function streaming - the parser can read in a function at-a-time
llvm-svn: 8671
|