clang 20.0.0git
Public Member Functions | List of all members
clang::WasmIncrementalExecutor Class Reference

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Interpreter/Wasm.h"

Inheritance diagram for clang::WasmIncrementalExecutor:
Inheritance graph
[legend]

Public Member Functions

 WasmIncrementalExecutor (llvm::orc::ThreadSafeContext &TSC)
 
llvm::Error addModule (PartialTranslationUnit &PTU) override
 
llvm::Error removeModule (PartialTranslationUnit &PTU) override
 
llvm::Error runCtors () const override
 
 ~WasmIncrementalExecutor () override
 
- Public Member Functions inherited from clang::IncrementalExecutor
 IncrementalExecutor (llvm::orc::ThreadSafeContext &TSC, llvm::orc::LLJITBuilder &JITBuilder, llvm::Error &Err)
 
virtual ~IncrementalExecutor ()
 
virtual llvm::Error addModule (PartialTranslationUnit &PTU)
 
virtual llvm::Error removeModule (PartialTranslationUnit &PTU)
 
virtual llvm::Error runCtors () const
 
llvm::Error cleanUp ()
 
llvm::Expected< llvm::orc::ExecutorAddr > getSymbolAddress (llvm::StringRef Name, SymbolNameKind NameKind) const
 
llvm::orc::LLJIT & GetExecutionEngine ()
 

Additional Inherited Members

- Public Types inherited from clang::IncrementalExecutor
enum  SymbolNameKind { IRName , LinkerName }
 
- Static Public Member Functions inherited from clang::IncrementalExecutor
static llvm::Expected< std::unique_ptr< llvm::orc::LLJITBuilder > > createDefaultJITBuilder (llvm::orc::JITTargetMachineBuilder JTMB)
 
- Protected Member Functions inherited from clang::IncrementalExecutor
 IncrementalExecutor (llvm::orc::ThreadSafeContext &TSC)
 

Detailed Description

Definition at line 24 of file Wasm.h.

Constructor & Destructor Documentation

◆ WasmIncrementalExecutor()

clang::WasmIncrementalExecutor::WasmIncrementalExecutor ( llvm::orc::ThreadSafeContext &  TSC)

Definition at line 36 of file Wasm.cpp.

◆ ~WasmIncrementalExecutor()

clang::WasmIncrementalExecutor::~WasmIncrementalExecutor ( )
overridedefault

Member Function Documentation

◆ addModule()

llvm::Error clang::WasmIncrementalExecutor::addModule ( PartialTranslationUnit PTU)
overridevirtual

Reimplemented from clang::IncrementalExecutor.

Definition at line 40 of file Wasm.cpp.

References lld::wasm::link(), clang::Result, and clang::PartialTranslationUnit::TheModule.

◆ removeModule()

llvm::Error clang::WasmIncrementalExecutor::removeModule ( PartialTranslationUnit PTU)
overridevirtual

Reimplemented from clang::IncrementalExecutor.

Definition at line 102 of file Wasm.cpp.

◆ runCtors()

llvm::Error clang::WasmIncrementalExecutor::runCtors ( ) const
overridevirtual

Reimplemented from clang::IncrementalExecutor.

Definition at line 107 of file Wasm.cpp.


The documentation for this class was generated from the following files: