| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 165406
|
|
|
|
| |
llvm-svn: 165403
|
|
|
|
| |
llvm-svn: 163096
|
|
|
|
| |
llvm-svn: 160482
|
|
|
|
| |
llvm-svn: 153248
|
|
|
|
|
|
|
| |
Adds /usr/lib/debug early to list, as some systems (debian) have unstripped libs in there
Adds /lib/i386-linux-gnu for systems that does multiarch (debian)
llvm-svn: 153174
|
|
|
|
|
|
|
| |
get_test_binary is a helper method, not a test, make sure nosetests
doesn't pick it up as a test.
llvm-svn: 153173
|
|
|
|
|
|
|
| |
It doesn't currently support the op info and symbol lookup callbacks,
but it is better than nothing.
llvm-svn: 152527
|
|
|
|
|
|
|
| |
Chris Lattner says the edis interface is going away. It doesn't make
sense to land something that will go away in the near future.
llvm-svn: 152508
|
|
|
|
|
|
|
|
|
|
|
| |
This requires a C++ change to EDDisassembler's ctor to function properly
(the llvm::InitializeAll* functions aren't being called currently and
there is no way to call them from Python).
Code is partially tested and works well enough for initial commit. There
are probably many small bugs.
llvm-svn: 152506
|
|
|
|
| |
llvm-svn: 152505
|
|
|
|
| |
llvm-svn: 152483
|
|
|
|
|
|
|
| |
It is now possible to load object files and scan over sections, symbols,
and relocations! Includes test code with partial coverage.
llvm-svn: 152482
|
|
|
|
|
|
| |
Previous code had a double free in MemoryBuffer. The tests now pass.
llvm-svn: 152422
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This contains a semi-functional skeleton for the implementation of the
LLVM bindings for Python.
The API for the Object.h interface is roughly designed but not
implemented. MemoryBufferRef is implemented and actually appears to
work!
The ObjectFile unit test fails with a segmentation fault because the
LLVM library isn't being properly initialized. The build system doesn't
know about this code yet, so no alerts should fire.
llvm-svn: 152397
|
|
|
|
| |
llvm-svn: 149997
|
|
|
|
|
|
| |
LLVM isn't an acronym anymore.
llvm-svn: 148985
|
|
|
|
|
|
| |
Patch by Jonathan Ragan-Kelley!
llvm-svn: 147314
|
|
|
|
| |
llvm-svn: 147197
|
|
|
|
| |
llvm-svn: 146409
|
|
|
|
|
|
|
|
|
|
|
| |
1. Interface files (.mli) are installed before compiled interface
files (.cmi) to preserve timestamp relation.
2. install-meta should use $(OcamlDir) instead of $(ObjDir).
3. Declared some targets as .PHONY.
Patch by Christophe Raffalli.
llvm-svn: 144183
|
|
|
|
| |
llvm-svn: 143634
|
|
|
|
|
|
| |
The C bindings exposed some APIs that weren't covered by the OCaml bindings
llvm-svn: 141997
|
|
|
|
|
|
|
|
|
| |
OCaml's int is limited to 31 bits on 32-bit architectures, so use Int32
explicitly.
Also add an unpack_attr, and {function,param,instr}_attr functions to read
the attributes.
llvm-svn: 141996
|
|
|
|
| |
llvm-svn: 141995
|
|
|
|
| |
llvm-svn: 141994
|
|
|
|
| |
llvm-svn: 141993
|
|
|
|
|
|
|
| |
This makes it easier to link against LLVM libs, especially if you are using
_oasis.
llvm-svn: 141992
|
|
|
|
| |
llvm-svn: 141991
|
|
|
|
| |
llvm-svn: 141990
|
|
|
|
| |
llvm-svn: 141989
|
|
|
|
| |
llvm-svn: 141288
|
|
|
|
| |
llvm-svn: 141287
|
|
|
|
| |
llvm-svn: 141286
|
|
|
|
| |
llvm-svn: 141285
|
|
|
|
| |
llvm-svn: 141284
|
|
|
|
| |
llvm-svn: 140991
|
|
|
|
| |
llvm-svn: 137193
|
|
|
|
| |
llvm-svn: 136582
|
|
|
|
|
|
| |
module operations that operate on type names are gone.
llvm-svn: 134839
|
|
|
|
| |
llvm-svn: 125202
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
See http://caml.inria.fr/mantis/view.php?id=4166
If we call only external functions from a module, then its 'let _' bindings
don't get executed, which means that the exceptions don't get registered for use
in the C code.
This in turn causes llvm_raise to call raise_with_arg() with a NULL pointer and
cause a segmentation fault.
The workaround is to declare all 'external' functions as 'val' in these .mli
files.
Also added a separate testcase (the testcase must call only external functions
for the bug to occur).
llvm-svn: 122497
|
|
|
|
| |
llvm-svn: 116021
|
|
|
|
|
|
|
| |
was the main putative user of the binding is actually maintaining its own
different binding, see http://git.ada.cx/cgi-bin/cgit.cgi/draco.git/
llvm-svn: 113960
|
|
|
|
|
|
|
| |
(The Ada bindings probably need it too, but all the
obvious places to change say "do not edit this file".)
llvm-svn: 113618
|
|
|
|
| |
llvm-svn: 112363
|
|
|
|
|
|
| |
- Support the LinkerWeak*Linkage types in llvm-nm and in LinkModules.cpp.
llvm-svn: 111952
|
|
|
|
| |
llvm-svn: 111627
|
|
|
|
| |
llvm-svn: 111625
|
|
|
|
|
|
| |
Thanks to Jianzhou Zhao for finding this.
llvm-svn: 111624
|