Commit graph

305 commits

Author SHA1 Message Date
Siu Kwan Lam
bf121485ad Fix problem with caching llvm.core.Value objects. 2013-02-15 13:30:50 -06:00
Siu Kwan Lam
cb00dcc52c Fix a bug in CreatInsertValue and one in ConstantInt. 2013-02-13 18:12:45 -06:00
Siu Kwan Lam
d2dc34cdd3 Try to fix invalid dtor call 2013-02-13 17:12:54 -06:00
Siu Kwan Lam
a09394cacd Fix a lots of bugs in the newbinding to pass all the tests.
NOTE: debug info has not been implemented yet.
2013-02-13 15:52:53 -06:00
Siu Kwan Lam
a97b26415e Update old API to use the new binding.
Have not run the testsuite yet.
2013-02-11 18:15:22 -06:00
Siu Kwan Lam
0681d2f37e Fixes various problem in llvm.core 2013-02-08 18:22:53 -06:00
Siu Kwan Lam
1fb6b05715 Finished wrapper in llvm.core 2013-02-08 18:13:45 -06:00
Siu Kwan Lam
450c29e052 Swap out old llvm code 2013-02-05 15:30:43 -06:00
Phillip Cloud
c822f5f9f7 add GIT variable to _version.py 2013-02-02 20:44:27 -05:00
Ilan Schnell
0a6a11f35a add missing llvm/_version.py 2013-02-01 16:04:58 -06:00
Ilan Schnell
5dd0948c65 cleanup 2013-01-31 17:54:20 -06:00
Ilan Schnell
3772b8ba6e REL: master now 0.10.2 2013-01-25 14:05:40 -06:00
Ilan Schnell
4ab6791e78 fix version string 2013-01-25 13:57:43 -06:00
Siu Kwan Lam
3b1ae9889d Ensure python2.6 support 2013-01-24 11:58:28 -06:00
Siu Kwan Lam
1ccda1ca5c Merge pull request #47 from llvmpy/debuginfo
Debuginfo
2013-01-23 12:09:16 -08:00
Mark Florisson
b46757f492 Accept list of values and LLVM values as debug descriptors 2013-01-22 11:21:17 -06:00
Mark Florisson
3b75974731 Add basic block and instruction position descriptors 2013-01-21 20:58:32 -06:00
Mark Florisson
3fba8e4adf Support optional LLVM-level debug info 2013-01-21 19:30:46 -06:00
Mark Florisson
f6e687ae66 Allow declarative specification of debug descriptors 2013-01-21 16:54:51 -06:00
Mark Florisson
f05222caec Add file descriptors and per-module metadata caching 2013-01-21 13:04:50 -06:00
Mark Florisson
8c6384f242 Test dwarf compile unit with DW_LANG_C89 2013-01-21 12:41:49 -06:00
Mark Florisson
7c9f73ccc7 Allow debug description of compilation unit 2013-01-21 11:14:17 -06:00
Mark Florisson
93f8c70d19 Expose dwarf constants for debug info generation 2013-01-21 10:52:29 -06:00
Christoph Gohlke
203858f417 Fix ImportError on Python 3 2013-01-18 13:40:48 -08:00
Ilan Schnell
50e92b4abe fix known failing tests on MacOSX for now 2013-01-18 11:44:38 -06:00
Siu Kwan Lam
0cb552a1ca Fix TestCPUFeature test; more explicit. 2013-01-18 11:38:04 -06:00
Siu Kwan Lam
6bc5b72c71 Fix: ExecutionEngine should own TargetData instance returned from ee.target_data 2013-01-18 11:38:04 -06:00
Ilan Schnell
ca1a23dff5 skip failing tests on 32-bit Windows 2013-01-18 11:26:37 -06:00
Siu Kwan Lam
206d512c10 Fix LLVMLinkModules for LLVM-3.1 2013-01-17 19:06:06 -06:00
Siu Kwan Lam
7451f6ca4a Add tests for double-precision intrinsics 2013-01-17 17:12:11 -06:00
Siu Kwan Lam
343efc6379 C-wrapper includes file and lineno when unknown exceptino is encountered 2013-01-17 16:44:01 -06:00
Siu Kwan Lam
1daec8ff63 Add simpler intrinsic tests for debug llvm-3.2 on windows 32-bit 2013-01-17 16:43:27 -06:00
Siu Kwan Lam
c7320e84de Add tests for cpu features support 2013-01-17 16:08:47 -06:00
Siu Kwan Lam
d0fd53fda3 Revert "Workaround for LLVM-3.2 invalid reporting of host triple on darwin9.8"
This reverts commit ea315a58cb.
2013-01-17 14:22:27 -06:00
Siu Kwan Lam
ea315a58cb Workaround for LLVM-3.2 invalid reporting of host triple on darwin9.8 2013-01-17 14:13:03 -06:00
Siu Kwan Lam
2d3889111b Cleanup usage of long long; replace with PY_LONG_LONG.
For address, use PyLong_AsVoidPtr.
2013-01-17 13:16:53 -06:00
Ilan Schnell
0f3dfb85d4 simplified avx detection on Linux 2013-01-16 19:56:42 -06:00
Siu Kwan Lam
00b3449443 Try PY_LONG_LONG replacement for unsigned long long 2013-01-16 19:36:26 -06:00
Siu Kwan Lam
5d4759bd55 Workaround for AVX on old kernels. 2013-01-16 18:18:50 -06:00
Siu Kwan Lam
bdac4a809d Add lazy compilation option.
Unify execution engine creation through engine-builder internally.
2013-01-16 17:52:33 -06:00
Siu Kwan Lam
91a10e6a8e Fix TargetMachine ownership in EngineBuilder. 2013-01-14 20:34:29 -06:00
Siu Kwan Lam
8b58488bbd Add GEP inbounds 2013-01-14 10:30:58 -06:00
Siu Kwan Lam
207254fe50 Make note about preverifier bug in LLVM that *.verify() will abort upon error 2013-01-10 17:13:06 -06:00
Siu Kwan Lam
31fbc3ae64 Module.link_in should not delete other.ptr and should prevent the other.ptr from being destroyed 2013-01-10 17:10:40 -06:00
Siu Kwan Lam
ee62b0c96c Fix Module.link_in so it reports error and destory the other module when preserve=False 2013-01-10 16:52:25 -06:00
Siu Kwan Lam
f731332360 Builder.branch will check if the basicblock has terminator when running in debug mode. 2013-01-10 16:43:14 -06:00
Siu Kwan Lam
9dadd9f1df Use 'L' format for unsigned long long to be consistent 2013-01-10 09:44:00 -06:00
Ilan Schnell
cc8b16b9ca next version will be 0.10.0 2013-01-08 16:12:26 -06:00
Siu Kwan Lam
64880e7d69 Fix invalid use of long for address. Use unsigned long long for cross-platform 64-bit int. 2013-01-08 16:09:51 -06:00
Siu Kwan Lam
371e940c83 Reverse finalizer 2013-01-07 16:39:41 -06:00