cling/lib/Interpreter
Axel Naumann 9432fb6582 LookupHelper must not unload Transactions:
Outer RAIIs might still reference the Transaction, and unload is
assuming that it owns the transaction and can delete it / put it
into the TransactionPool.

This fixes https://github.com/root-project/root/issues/7657

We still need to track ownership as what has happened here (unload
of a Transaction held by an RAII) can happen again / elsewhere.
This will be addressed by a subsequent PR in master.
2021-04-06 00:14:05 +02:00
..
ASTTransformer.cpp Rename ASTTransformer.h -> TransactionTransformer.h. 2015-03-16 15:24:52 +01:00
ASTTransformer.h Only disable ptr checker, not all AST transformers! 2017-09-13 13:14:06 +02:00
AutoloadCallback.cpp Remove unused parameters. Fixes -Wunused-parameter. 2021-02-25 20:44:18 +01:00
AutoSynthesizer.cpp getLocStart was renamed to getBeginLoc and getLocEnd to getEndLoc. 2021-02-25 20:44:16 +01:00
AutoSynthesizer.h Rename ASTTransformer.h -> TransactionTransformer.h. 2015-03-16 15:24:52 +01:00
BackendPasses.cpp CudaGpuBinaryFileNames was renamed to CudaGpuBinaryFileName. 2021-02-25 20:44:15 +01:00
BackendPasses.h Add an include to the LegacyPassManager for object's size. 2021-02-25 20:44:16 +01:00
CheckEmptyTransactionTransformer.cpp Simplify invocation of DeclUnloader::UnloadDecl(). 2016-06-26 18:59:08 +02:00
CheckEmptyTransactionTransformer.h Rename ASTTransformer.h -> TransactionTransformer.h. 2015-03-16 15:24:52 +01:00
CIFactory.cpp Fix bug in cling's diagnostic engine, if CUDA mode is enable 2021-03-06 09:29:07 +01:00
ClangInternalState.cpp LLVM_ON_WIN32 was dropped. 2021-02-25 20:44:18 +01:00
ClingCodeCompleteConsumer.cpp Refactor 2016-07-18 14:29:14 +02:00
ClingPragmas.cpp Improve diag on #pragma load failure. 2021-03-16 09:59:03 +01:00
ClingPragmas.h Add a cling pragma handler. For now implement #pragma cling load(file) 2015-02-18 14:51:21 +01:00
ClingUtils.h Remove code duplication 2015-04-17 02:50:36 +02:00
CMakeLists.txt Do not bind cling's sysroot to a particular version of osx sdk. 2021-03-21 21:59:03 +01:00
DeclCollector.cpp Remove unused parameters. Fixes -Wunused-parameter. 2021-02-25 20:44:18 +01:00
DeclCollector.h Remove default-by-tokens default ctor (NFC). 2019-06-28 23:59:17 +02:00
DeclExtractor.cpp DeclExtractor: exit early if there is nothing to do 2021-02-25 20:44:19 +01:00
DeclExtractor.h Remove unused parameters. Fixes -Wunused-parameter. 2021-02-25 20:44:18 +01:00
DeclUnloader.cpp removeRedeclFromChain is a template static. Fixes osx warning. 2021-02-25 20:44:19 +01:00
DeclUnloader.h removeRedeclFromChain is a template static. Fixes osx warning. 2021-02-25 20:44:19 +01:00
DefinitionShadower.cpp Improve "[cling] DefinitionShadower: allow shadowing of non-user-defined declarations (#6571)" 2021-02-25 20:44:18 +01:00
DefinitionShadower.h DefinitionShadower: reuse __cling_N5xxx namespace for decls coming from the same transaction 2019-09-27 14:59:05 +02:00
DeviceKernelInliner.cpp Changes for Pull Request #284 2019-11-07 19:29:15 +01:00
DeviceKernelInliner.h Changes for Pull Request #284 2019-11-07 19:29:15 +01:00
DynamicExprInfo.cpp Windows: Fix printing adresses as hexadecimal. Refactor into common function. Remove useless intermediate allocations/objects. 2016-11-21 12:44:34 +01:00
DynamicLibraryManager.cpp Skip non-regular files to find dylibs: 2021-03-18 19:44:06 +01:00
DynamicLibraryManagerSymbol.cpp Remove comment, clarify intent. 2021-04-02 08:59:05 +02:00
DynamicLookup.cpp BuildCXXNew takes an llvm::Optional and passing 0 means ArraySize is 0. 2021-02-25 20:44:17 +01:00
DynamicLookup.h Also escape array subscript (ROOT-7718). 2017-07-03 14:47:57 +02:00
EnterUserCodeRAII.h RAII, not RTTI: rename class and #includes. 2017-09-18 14:29:05 +02:00
Exception.cpp Throw less exceptions on Apple M1: 2021-03-31 15:29:04 +02:00
ExternalInterpreterSource.cpp Fix wrong asserts. 2021-02-25 20:44:17 +01:00
ExternalInterpreterSource.h Remove unused member variable in ExternalInterpreterSource. 2017-01-25 12:14:06 +01:00
ForwardDeclPrinter.cpp Put else back to handle CastExpr of DeclRefExpr 2021-03-07 00:14:03 +01:00
ForwardDeclPrinter.h Remove unused parameters. Fixes -Wunused-parameter. 2021-02-25 20:44:18 +01:00
IncrementalCUDADeviceCompiler.cpp Try moving cling to the new orc jit api. 2021-02-25 20:44:17 +01:00
IncrementalExecutor.cpp Disable GlobalISel on AArch64 (#7419) 2021-03-09 21:29:04 +01:00
IncrementalExecutor.h Orc JIT now takes the ownership of the llvm::Module. 2021-02-25 20:44:17 +01:00
IncrementalJIT.cpp Only JIT symbols that are unavailable: 2021-02-25 20:44:18 +01:00
IncrementalJIT.h Remove unused member from the JIT. 2021-02-25 20:44:18 +01:00
IncrementalParser.cpp Allow unloading of Transactions that have not been committed: 2021-03-18 19:59:03 +01:00
IncrementalParser.h Teach cling to give unique source locations. 2020-02-25 21:47:05 +01:00
Interpreter.cpp Assert that no nested attaches to unloading Transaction. 2021-04-06 00:14:05 +02:00
InterpreterCallbacks.cpp Remove unused parameters. Fixes -Wunused-parameter. 2021-02-25 20:44:18 +01:00
InvocationOptions.cpp LLVM_ON_WIN32 was dropped. 2021-02-25 20:44:18 +01:00
LookupHelper.cpp LookupHelper must not unload Transactions: 2021-04-06 00:14:05 +02:00
MultiplexInterpreterCallbacks.h Add override keyword and InclusionDirective callback takes extra arg. 2021-02-25 20:44:16 +01:00
NullDerefProtectionTransformer.cpp Index goes behind the getASTIndex interface. 2021-02-25 20:44:16 +01:00
NullDerefProtectionTransformer.h Only check pointers for Decls from writable dirs (ROOT-9377). 2018-06-25 12:59:56 +02:00
RequiredSymbols.cpp Add cling output streams to cling/Utils/Output.h 2016-12-19 13:59:11 +01:00
Threading.h Coding conventions 2015-03-16 13:12:47 +01:00
Transaction.cpp Assert that no nested attaches to unloading Transaction. 2021-04-06 00:14:05 +02:00
TransactionPool.h Assert released transaction is != last in pool: 2021-04-06 00:14:05 +02:00
TransactionUnloader.cpp Try moving cling to the new orc jit api. 2021-02-25 20:44:17 +01:00
TransactionUnloader.h Try moving cling to the new orc jit api. 2021-02-25 20:44:17 +01:00
Value.cpp Add LLVM_FALLTHROUGH to silence warnings. 2021-02-25 20:44:17 +01:00
ValueExtractionSynthesizer.cpp BuildCXXNew takes an llvm::Optional and passing 0 means ArraySize is 0. 2021-02-25 20:44:17 +01:00
ValueExtractionSynthesizer.h Report ValueExtractionSynthesizer errors with DiagnosticsEngine. 2020-08-20 09:44:06 +02:00
ValuePrinter.cpp Fix warnings about the ignored quals. 2021-02-25 20:44:19 +01:00
ValuePrinterSynthesizer.cpp getLocStart was renamed to getBeginLoc and getLocEnd to getEndLoc. 2021-02-25 20:44:16 +01:00
ValuePrinterSynthesizer.h Remove unused stream argument. 2016-10-05 10:53:00 +02:00