1218 Commits

Author SHA1 Message Date
Vassil Vassilev
344657830e Add clarification comment. 2014-03-15 10:08:24 +01:00
Bertrand Bellenot
f74816cfdf Another attempt to fix compilation warnings like: Command line warning D9025: overriding '/EHs' with '/EHs-' 2014-03-14 11:40:55 +01:00
Vassil Vassilev
5d959e9190 Doxygen warning 2014-03-14 10:52:29 +01:00
Vassil Vassilev
1b85e6e20d We may not have incr executor. 2014-03-14 10:52:29 +01:00
Vassil Vassilev
b371e33e23 We may not have code gen. 2014-03-14 10:52:29 +01:00
Vassil Vassilev
1f7d6836f8 Remove the functions after the loop is done. 2014-03-14 10:52:29 +01:00
Vassil Vassilev
fff83003a6 Protect against calling a function with an unexpected signature. 2014-03-14 10:52:29 +01:00
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
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
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
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
d7ca5b7759 Use new libdep syntax; parameterize target libs to link. 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
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
a2ccf158bd Remove stray semicolon. 2014-03-03 23:48:10 +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
Vassil Vassilev
c7503fbe79 Inline. 2014-03-03 15:27:05 +01:00
Vassil Vassilev
15918cd889 Remove unused interface. 2014-03-03 15:27:05 +01:00
Vassil Vassilev
e4383ecf7d Remove unused interface. 2014-03-03 15:27:05 +01:00
Vassil Vassilev
be8b6e8db1 Fix cmake. 2014-03-03 15:27:05 +01:00