Frederich Munch
075f4ffa83
Add cling output streams to cling/Utils/Output.h
2016-12-19 13:59:11 +01:00
Frederich Munch
9759ee7557
Peek inside extern "C" declarations only after name hasn't been matched. Change initial for loop use != comparison rather than <
2016-09-30 10:14:28 +02:00
Frederich Munch
2bf05c5188
Fix extern "C" declarations not being called from .x command.
...
This handles top-level declarations only (i.e. not nested in namespaces).
2016-09-16 21:39:49 +02:00
Axel Naumann
1ec7136eeb
Refactor, centralize all TransactionUnloading in Interpreter.
2016-06-26 10:29:17 +02:00
Axel Naumann
c6b91546cb
Need to also suppress assert for multiple kCCIHandleCXXImplicitFunctionInstantiation.
2016-06-15 14:14:34 +02:00
Axel Naumann
dc2047e7c4
Replace Transaction::reset() by ~Transaction(). Replace RefillPool by new Transaction.
...
Simplifies code, removes duplication.
2015-06-08 14:58:29 +02:00
Axel Naumann
439869b8c2
Use magic ExeUnload handle to tag "nothing to be unloaded".
...
This disambiguates a transaction without JITted module from one with JITted code.
Only the latter should be unloaded.
2015-06-08 14:58:27 +02:00
Axel Naumann
44ee56b7a1
Also unload modules that are queued for JITting.
2015-06-08 14:58:25 +02:00
Axel Naumann
93e44e7273
Use ~Transaction() to unload its JITed symbols.
2015-02-11 10:57:47 +01:00
Axel Naumann
16fe3f49dc
Replace use of ExecutionEngine by OrcJIT.
2015-02-11 10:57:47 +01:00
Vassil Vassilev
bfef6b414d
Add file info and authors.
2014-08-14 14:56:41 +02:00
Vassil Vassilev
a1640388a4
On .x try calling the specially named function only if it exists.
2014-08-14 14:56:39 +02:00
Philippe Canal
576ca3ca96
Remove trailing spaces
2014-08-13 16:08:36 +02:00
Vassil Vassilev
33676c14a9
Implement dump of MacroDirectiveInfo.
2014-03-31 14:03:08 +02:00
Vassil Vassilev
c92a68efc4
Implement cling::Transaction unique id.
2014-02-20 15:16:59 +01:00
Vassil Vassilev
02757c1176
Add missing enum kind for the dump.
2014-02-10 11:20:57 +01:00
Axel Naumann
44481ace1e
Fix license; remove $Id$ version.
2014-01-07 11:14:04 +01:00
Vassil Vassilev
51d27bf1e5
Improve uncaching of unloaded files.
...
*Merge PreVisitDecl and PreVisitMacro and rename to CollectFilesToUncache.
*Add FID to the transaction storing the memory buffer file ID caused the
transaction.
2013-12-06 12:03:33 +01:00
Vassil Vassilev
3242fa7d30
When we unload we have to cleanup the containers.
2013-11-27 15:46:59 +01:00
Vassil Vassilev
846058e9c0
Nested transactions can be in rolled back state when deleting.
2013-11-27 15:46:59 +01:00
Vassil Vassilev
d74740df1d
Size doesn't make sense for a transaction. Iteration doesn't cause side effects anymore.
2013-11-25 17:32:56 +01:00
CristinaCristescu
1d06b2725b
Workaround multiple DeclCollector instances.
2013-11-25 13:56:02 +01:00
CristinaCristescu
d6e2f85d1c
Fix and improve macro error recovery.
2013-11-25 13:56:02 +01:00
CristinaCristescu
5d42bd5e8c
Improvements on Macro removal.
2013-11-25 13:56:02 +01:00
CristinaCristescu
46f07198b0
Add comments and fix trailing spaces.
2013-11-25 13:56:01 +01:00
CristinaCristescu
85b4232729
Revert macro def for error recovery.
2013-11-25 13:56:01 +01:00
CristinaCristescu
0490caaa99
Macro recovery
2013-11-25 13:56:00 +01:00
Vassil Vassilev
f9b132160d
Allow unloaded/rolledback transactions to be returned even not empty in the pool.
2013-10-29 21:19:55 +01:00
Vassil Vassilev
f2761f407c
Move the removal of the wrapper first, because the iterator gets invalidated.
2013-10-29 20:19:27 +01:00
Vassil Vassilev
bd34a1ca16
Erase takes iterator and sets the wrapper fd to 0 if the wrapper is being erased.
2013-10-29 20:19:14 +01:00
Vassil Vassilev
45af08a167
Spell out that we want only one wrapper per transaction.
2013-09-10 15:41:01 +02:00
Vassil Vassilev
c35e529cd6
Remove unused code.
2013-09-10 15:41:01 +02:00
Axel Naumann
1a69f792c4
Add newline; (some?) fwd decls do not have one.
2013-08-30 18:08:55 +02:00
Vassil Vassilev
a6f245a8b4
Don't play smart* use proper empty str as default arg.
2013-08-28 16:44:01 +02:00
Vassil Vassilev
2e97001848
Print the decls coming from deserialization, too.
2013-08-28 16:44:01 +02:00
Vassil Vassilev
53d4cbc184
There is no need of checking the size of the transaction.
2013-08-28 16:44:00 +02:00
Vassil Vassilev
2b67326e17
Fix getters, ending up in infinite recursion...
2013-08-28 16:44:00 +02:00
Vassil Vassilev
d7c785b0b2
Implement pretty print of DelayCallInfo. Constify.
2013-08-28 16:44:00 +02:00
Vassil Vassilev
476e36c348
Add another sanity check. It will cry whenever we extend the enum.
2013-08-28 16:44:00 +02:00
Vassil Vassilev
0ed039355a
The ASTContext is a ref.
2013-08-28 16:43:58 +02:00
Vassil Vassilev
c3f2c31583
Use the ASTContext stored in the Transaction.
2013-08-28 16:43:58 +02:00
Paul Russo
63cb406f2f
Add support for TClingCallFunc function wrappers to transactions.
2013-08-28 03:46:06 +02:00
Vassil Vassilev
e8e2932892
Loosen the asserts due to not well-enough-understood behavior in clang. Maybe it's a bug or it is a feature.
2013-08-08 15:01:54 +02:00
Vassil Vassilev
a571d69951
Finally: enable the asserts that assure very conservative integrity checks.
2013-08-08 15:01:53 +02:00
Vassil Vassilev
01314c9d78
Transaction takes and stores the ASTContext, otherwise it is too much of an effort to get it from the DeclQueue, which might contain null DGRs.
2013-08-04 18:44:55 +02:00
Vassil Vassilev
1460ff875b
Enhance debug printout.
2013-08-04 18:44:55 +02:00
Vassil Vassilev
a8c9e880e9
Transactions that triggered deserialization shouldn't be considered as empty, because logically they are not and because ROOT needs the callbacks to be fired.
2013-08-02 17:34:57 +02:00
Vassil Vassilev
4a473f5043
Improve debug printout.
2013-08-02 17:34:56 +02:00
Vassil Vassilev
4230a3cc6c
Remove redundant transaction state.
2013-08-02 17:34:56 +02:00
Vassil Vassilev
cb27a8c694
Since we have the transaction pool we can afford to construct the decl collection non-lazy. This is because we know that this will be reused.
2013-08-02 17:34:56 +02:00