1186 Commits

Author SHA1 Message Date
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
Vassil Vassilev
1851604b8c Rename printAST to printDebug. 2014-03-03 15:27:05 +01:00
Vassil Vassilev
c745dcc29c Remove useless flag. 2014-03-03 15:27:04 +01:00
Vassil Vassilev
f29b09e054 Remove .printIR and replace it with smarter debug class reusing the latest state tracker. 2014-03-03 15:27:04 +01:00
Vassil Vassilev
2ecd78a0aa Move the callback invocation in the interpreter. 2014-03-03 15:27:04 +01:00
Vassil Vassilev
2073194a6e Trailing blanks, tabs. 2014-02-28 10:36:00 +01:00
Vassil Vassilev
943350a7c2 Implement .stats command printing out statistics about internal ADT 2014-02-28 10:35:59 +01:00
Vassil Vassilev
03010a5af1 Revert failed instantiations ROOT-6070. 2014-02-28 10:35:59 +01:00
Vassil Vassilev
71b05e8321 Use the new CodeGen debug printouts in .storeState 2014-02-27 15:57:11 +01:00
Vassil Vassilev
a6c682a670 Add more handy interface. 2014-02-27 12:49:13 +01:00
Vassil Vassilev
50fe8b7a32 Clarification comment. 2014-02-27 12:49:12 +01:00
Vassil Vassilev
98283abd49 Replace the craftwork with the sophisticated node eraser. 2014-02-27 12:49:12 +01:00
Vassil Vassilev
99d9ac11b2 Add support for dtor removal. 2014-02-27 12:49:12 +01:00
Vassil Vassilev
c22ea2a25e Run the dtors first, before they get unloaded and forgotten. 2014-02-27 12:49:12 +01:00
Vassil Vassilev
3f1984dd38 Blank space artifact. 2014-02-27 12:49:12 +01:00
Vassil Vassilev
150231c357 Run only dtors of the unloaded entities. 2014-02-27 12:49:11 +01:00
Vassil Vassilev
1bf7c49086 Move unloading of N transactions outside IncrementalParser 2014-02-27 12:49:11 +01:00
Vassil Vassilev
9afad24a05 Pop back in the worker routine. 2014-02-27 12:49:11 +01:00
Vassil Vassilev
dc6a46c67d Enforce more integrity. 2014-02-27 12:49:11 +01:00
Vassil Vassilev
e89b570618 Use iterators instead. 2014-02-27 12:49:11 +01:00
Vassil Vassilev
0774231e01 Use SmallVector for the dtor list. 2014-02-27 12:49:11 +01:00
Vassil Vassilev
8958ff07fa Order includes. 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
eea3bf1f3d This should be reimplemented. So far it is a nop. 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
a3d6d2a32d Remove redundant fwd decl. 2014-02-27 12:49:09 +01:00
Vassil Vassilev
0de4bf4299 Fix a wrong init. 2014-02-27 12:49:09 +01:00
Axel Naumann
176ffc031b Stream refs by streaming the ref'ed object. 2014-02-26 09:22:05 +01:00
Axel Naumann
68d1b137b5 Pass lvalues like declRefExpr as references into the cling::Value (ROOT-6107).
This restores ReturnSynthesizer's behavior for ValueExtractionSynthesizer.
2014-02-26 09:22:04 +01:00
Axel Naumann
9b678f2829 Allow updating of the MetaProcessor's output stream, to redirect a meta command. 2014-02-25 14:18:01 +01:00
Bertrand Bellenot
bf14b93185 Suppress MSVC warning C4530: C++ exception handler used, but unwind semantics are not enabled 2014-02-21 10:52:58 +01:00
Vassil Vassilev
fe98663520 Rename var clashing with the param 2014-02-21 09:33:02 +01:00