#include "TClingCallbacks.h"#include <ROOT/FoundationUtils.hxx>#include "cling/Interpreter/DynamicLibraryManager.h"#include "cling/Interpreter/Interpreter.h"#include "cling/Interpreter/InterpreterCallbacks.h"#include "cling/Interpreter/Transaction.h"#include "cling/Utils/AST.h"#include "clang/AST/ASTConsumer.h"#include "clang/AST/ASTContext.h"#include "clang/AST/DeclBase.h"#include "clang/AST/DeclTemplate.h"#include "clang/AST/GlobalDecl.h"#include "clang/Frontend/CompilerInstance.h"#include "clang/Lex/HeaderSearch.h"#include "clang/Lex/PPCallbacks.h"#include "clang/Lex/Preprocessor.h"#include "clang/Parse/Parser.h"#include "clang/Sema/Lookup.h"#include "clang/Sema/Scope.h"#include "clang/Serialization/ASTReader.h"#include "clang/Serialization/GlobalModuleIndex.h"#include "llvm/ExecutionEngine/Orc/Core.h"#include "llvm/Support/Error.h"#include "llvm/Support/FileSystem.h"#include "llvm/Support/Path.h"#include "llvm/Support/Process.h"#include "TClingUtils.h"#include "ClingRAII.h"Classes | |
| class | AutoloadLibraryGenerator |
| class | AutoloadLibraryMU |
Functions | |
| int | TCling__AutoLoadCallback (const char *className) |
| int | TCling__AutoParseCallback (const char *className) |
| int | TCling__CompileMacro (const char *fileName, const char *options) |
| const char * | TCling__GetClassSharedLibs (const char *className) |
| void | TCling__GetNormalizedContext (const ROOT::TMetaUtils::TNormalizedCtxt *&) |
| TObject * | TCling__GetObjectAddress (const char *Name, void *&LookupCtx) |
| Decl * | TCling__GetObjectDecl (TObject *obj) |
| void | TCling__InvalidateGlobal (const clang::Decl *) |
| int | TCling__IsAutoLoadNamespaceCandidate (const clang::NamespaceDecl *name) |
| void | TCling__LibraryLoadedRTTI (const void *dyLibHandle, llvm::StringRef canonicalName) |
| bool | TCling__LibraryLoadingFailed (const std::string &, const std::string &, bool, bool) |
| Lookup libraries in LD_LIBRARY_PATH and DYLD_LIBRARY_PATH with mangled_name, which is extracted by error messages we get from callback from cling. | |
| void | TCling__LibraryUnloadedRTTI (const void *dyLibHandle, llvm::StringRef canonicalName) |
| int | TCling__LoadLibrary (const char *library) |
| Load a library. | |
| void * | TCling__LockCompilationDuringUserCodeExecution () |
| Lock the interpreter. | |
| void | TCling__PrintStackTrace () |
| Print a StackTrace! | |
| void * | TCling__ResetInterpreterMutex () |
| Reset the interpreter lock to the state it had before interpreter-related calls happened. | |
| void | TCling__RestoreInterpreterMutex (void *state) |
| Re-apply the lock count delta that TCling__ResetInterpreterMutex() caused. | |
| void | TCling__SplitAclicMode (const char *fileName, std::string &mode, std::string &args, std::string &io, std::string &fname) |
| void | TCling__TransactionRollback (const cling::Transaction &) |
| void | TCling__UnlockCompilationDuringUserCodeExecution (void *state) |
| Unlock the interpreter. | |
| void | TCling__UpdateListsOnCommitted (const cling::Transaction &, Interpreter *) |
| void | TCling__UpdateListsOnUnloaded (const cling::Transaction &) |
| static bool | topmostDCIsFunction (Scope *S) |
Variables | |
| R__EXTERN int | gDebug |
| int TCling__AutoLoadCallback | ( | const char * | className | ) |
Definition at line 621 of file TCling.cxx.
| int TCling__AutoParseCallback | ( | const char * | className | ) |
Definition at line 626 of file TCling.cxx.
| int TCling__CompileMacro | ( | const char * | fileName, |
| const char * | options | ||
| ) |
Definition at line 642 of file TCling.cxx.
| const char * TCling__GetClassSharedLibs | ( | const char * | className | ) |
Definition at line 631 of file TCling.cxx.
| void TCling__GetNormalizedContext | ( | const ROOT::TMetaUtils::TNormalizedCtxt *& | normCtxt | ) |
Definition at line 555 of file TCling.cxx.
| TObject * TCling__GetObjectAddress | ( | const char * | Name, |
| void *& | LookupCtx | ||
| ) |
Definition at line 598 of file TCling.cxx.
| Decl * TCling__GetObjectDecl | ( | TObject * | obj | ) |
Definition at line 602 of file TCling.cxx.
| void TCling__InvalidateGlobal | ( | const clang::Decl * | D | ) |
Definition at line 572 of file TCling.cxx.
| int TCling__IsAutoLoadNamespaceCandidate | ( | const clang::NamespaceDecl * | name | ) |
Definition at line 637 of file TCling.cxx.
| void TCling__LibraryLoadedRTTI | ( | const void * | dyLibHandle, |
| llvm::StringRef | canonicalName | ||
| ) |
| bool TCling__LibraryLoadingFailed | ( | const std::string & | errmessage, |
| const std::string & | libStem, | ||
| bool | permanent, | ||
| bool | resolved | ||
| ) |
Lookup libraries in LD_LIBRARY_PATH and DYLD_LIBRARY_PATH with mangled_name, which is extracted by error messages we get from callback from cling.
Return true when the missing library was autoloaded.
Definition at line 349 of file TCling.cxx.
| void TCling__LibraryUnloadedRTTI | ( | const void * | dyLibHandle, |
| llvm::StringRef | canonicalName | ||
| ) |
| int TCling__LoadLibrary | ( | const char * | library | ) |
Load a library.
Definition at line 331 of file TCling.cxx.
| void * TCling__LockCompilationDuringUserCodeExecution | ( | ) |
Lock the interpreter.
Definition at line 366 of file TCling.cxx.
| void TCling__PrintStackTrace | ( | ) |
Print a StackTrace!
Definition at line 324 of file TCling.cxx.
| void * TCling__ResetInterpreterMutex | ( | ) |
Reset the interpreter lock to the state it had before interpreter-related calls happened.
Definition at line 358 of file TCling.cxx.
| void TCling__RestoreInterpreterMutex | ( | void * | state | ) |
Re-apply the lock count delta that TCling__ResetInterpreterMutex() caused.
Definition at line 339 of file TCling.cxx.
| void TCling__SplitAclicMode | ( | const char * | fileName, |
| std::string & | mode, | ||
| std::string & | args, | ||
| std::string & | io, | ||
| std::string & | fname | ||
| ) |
Definition at line 649 of file TCling.cxx.
| void TCling__TransactionRollback | ( | const cling::Transaction & | T | ) |
Definition at line 577 of file TCling.cxx.
| void TCling__UnlockCompilationDuringUserCodeExecution | ( | void * | state | ) |
Unlock the interpreter.
Definition at line 377 of file TCling.cxx.
| void TCling__UpdateListsOnCommitted | ( | const cling::Transaction & | , |
| Interpreter * | |||
| ) |
| void TCling__UpdateListsOnUnloaded | ( | const cling::Transaction & | T | ) |
Definition at line 567 of file TCling.cxx.
|
static |
Definition at line 361 of file TClingCallbacks.cxx.
Definition at line 51 of file TClingCallbacks.cxx.