Vassil Vassilev
4e4d39d389
Make it power of 2.
2014-03-14 10:52:29 +01:00
Vassil Vassilev
bb46c353f0
Style consistency.
2014-03-14 10:52:29 +01:00
Vassil Vassilev
0e9ea976e0
Remove unused var.
2014-03-14 10:52:29 +01:00
Vassil Vassilev
b5e6cb8dee
Use runFunction for running inits. Let's see whether it imporves LHCb builds
2014-03-14 10:52:29 +01:00
Vassil Vassilev
a54f51cdee
Remove dead code.
2014-03-14 10:52:29 +01:00
Vassil Vassilev
b9a4d063d1
Reduce the noise in compareState.
2014-03-14 10:52:29 +01:00
Vassil Vassilev
2323fea34c
Collect properly the references and remove orphaned globals due to death of a GV.
...
Cleanup and optimize the code.
2014-03-14 10:52:29 +01:00
Vassil Vassilev
12f47878bc
Invert order, because Dtor_Base calls Dtor_complete.
2014-03-14 10:52:29 +01:00
Vassil Vassilev
f6f4c707d4
Add a dead code removal pass. The test is expected to succeed now.
...
Removing a GlobalValue from the module might make other values (referenced only
by the one being removed) available for removal. Those should go as well. The
initial implementation is a bit greedy - it removes more: i.e dtors because they
are not referenced (because IncrementalExecutor takes care of them in an custom
way)
2014-03-14 10:52:29 +01:00
Vassil Vassilev
d763cfb137
Remove the members first, because they might need the redecl chain.
2014-03-14 10:52:29 +01:00
Vassil Vassilev
887645367e
Pass in codegen.
2014-03-14 10:52:29 +01:00
Vassil Vassilev
c0e918f506
Since we append the extracted decls in the transaction the wrapper must go last.
...
The reason is it introduces a fake dependency with which the unloaded chokes up.
2014-03-14 10:52:29 +01:00
Vassil Vassilev
66c59788d5
Remove @_GLOBAL__I_a and @__cxx_global_var_init after running them.
2014-03-14 10:52:28 +01:00
Vassil Vassilev
5e5e7e9d1f
Improve consistency. IncrementalExecutor should use llvm by default.
2014-03-14 10:52:28 +01:00
Vassil Vassilev
62318fcbc7
80 cols
2014-03-14 10:52:28 +01:00
Vassil Vassilev
6f11ad9b1e
Pass in codegen as an entity to be recovered.
2014-03-14 10:52:28 +01:00
Axel Naumann
f30e498afd
Try again: fix standalone cling; now verified on Win.
2014-03-10 13:43:01 +01:00
Pere Mato
d92e4dbb1c
Fix the build of cling (outside LLVM) after the recent changes in CMake files
2014-03-09 21:51:07 +01:00
Axel Naumann
5634799c7b
Typo.
2014-03-09 21:17:01 +01:00
Axel Naumann
f24006695a
Try again with CMake-ism: handle empty COMPILE_FLAGS.
2014-03-09 13:34:00 +01:00
Axel Naumann
1ecfebabdb
Apparently COMPILE_FLAGS can be empty.
2014-03-09 12:52:59 +01:00
Axel Naumann
4cffcf37a6
And another location for the new dependency.
2014-03-08 19:11:12 +01:00
Axel Naumann
772a9e5036
Add new dependency.
2014-03-08 19:05:02 +01:00
Axel Naumann
e7982e022d
Clean linked libs.
2014-03-08 19:05:02 +01:00
Axel Naumann
d27125d2e6
Extract git commit and use it to version cling.
2014-03-08 18:47:10 +01:00
Axel Naumann
70144ff4d8
Export symbols so dlsym() can find them.
2014-03-08 18:47:10 +01:00
Axel Naumann
61d2ec4e7a
Export symbols for the JIT.
2014-03-08 18:47:10 +01:00
Axel Naumann
d7ca5b7759
Use new libdep syntax; parameterize target libs to link.
2014-03-08 18:47:09 +01:00
Axel Naumann
09bb6baf4c
Update add_cling_library to current one from clang.
2014-03-08 18:47:09 +01:00
Axel Naumann
ab0e63a547
Only use native target, avoids --enable-targets=host.
2014-03-08 18:47:08 +01:00
Axel Naumann
b37a2bb919
No need for svn anymore.
2014-03-08 18:47:08 +01:00
Axel Naumann
ed1069786f
Improve version string; adapt test.
2014-03-05 09:46:09 +01:00
Axel Naumann
c505d76e2f
Fix constness warning.
2014-03-05 09:46:09 +01:00
Axel Naumann
297d6a0019
First step away from SVN versioning.
2014-03-04 19:55:00 +01:00
Axel Naumann
57a84ab394
Move some code around to chop Interpreter() into smaller pieces.
2014-03-04 19:55:00 +01:00
Axel Naumann
5045248a76
Dealy running static init until gCling is defined; local_cxa_atexit() needs it.
2014-03-04 19:55:00 +01:00
Axel Naumann
6325e7ed19
Keep trying to remap __cxa_atexit until succeeded.
...
__cxa_atexit is generated by clang::CodeGen upon seeing the first static
destructor. Instead of trying to provoke that we just continue to search for it.
2014-03-04 19:55:00 +01:00
Axel Naumann
baca204185
Simplify cxa_atexit(), first part.
...
Remove trigger__cxa_atexit(), we will just remap until successful.
Remove unused dso parameter.
Instead of friending just provide a function.
Pass a transaction, the typesafe way.
2014-03-04 19:54:59 +01:00
Axel Naumann
1e86611693
Remove unused function.
2014-03-04 19:54:59 +01:00
Vassil Vassilev
4b2182fe9c
Use actual md syntax.
2014-03-04 16:57:16 +01:00
Axel Naumann
a2ccf158bd
Remove stray semicolon.
2014-03-03 23:48:10 +01:00
Axel Naumann
ead43a7e3e
Also note the llvm/clang update here!
2014-03-03 19:52:00 +01:00
Axel Naumann
e784149c9b
Update tests to new clang output.
2014-03-03 19:11:05 +01:00
Axel Naumann
5294658610
Update to llvm/clang r202469.
2014-03-03 18:45:21 +01:00
Axel Naumann
6b647a89cd
Force symbol for ~__trigger__cxa_atexit (ROOT-6074); avoid reserved name.
2014-03-03 18:45:21 +01:00
Vassil Vassilev
d5abdd34f6
Remove unused variable.
2014-03-03 17:49:56 +01:00
Vassil Vassilev
b5d7af7566
Remove accidentally checked in file.
2014-03-03 15:44:01 +01:00
Vassil Vassilev
f7425b323d
Fix init order.
2014-03-03 15:27:05 +01:00
Vassil Vassilev
c7e7156ce1
Remove Interpreter::getModule.
2014-03-03 15:27:05 +01:00
Vassil Vassilev
8d457e947f
StringRef-y.
2014-03-03 15:27:05 +01:00