Commit Graph

17 Commits

Author SHA1 Message Date
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
b5e6cb8dee Use runFunction for running inits. Let's see whether it imporves LHCb builds 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
Axel Naumann
c505d76e2f Fix constness warning. 2014-03-05 09:46:09 +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
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
150231c357 Run only dtors of the unloaded entities. 2014-02-27 12:49:11 +01:00
Vassil Vassilev
e89b570618 Use iterators instead. 2014-02-27 12:49:11 +01:00
Vassil Vassilev
e7b0024c88 Doesn't depend on neither the module nor the execution engine. 2014-02-27 12:49:10 +01:00
Vassil Vassilev
bd023123b0 No llvm.global_dtors variable in the module. 2014-02-27 12:49:09 +01:00
Vassil Vassilev
4eeddf8a8c Bind cxa_atexit to the Transaction instead of the Decl. 2014-02-27 12:49:09 +01:00
Vassil Vassilev
2309fc097e Rename ExecutionContext -> IncrementalExecutor 2014-02-19 12:55:00 +01:00