class UnexpectedSymbolDefinitions

Declaration

class UnexpectedSymbolDefinitions : public ErrorInfo { /* full declaration omitted */ };

Description

Errors of this type should be returned if a module contains definitions for symbols that are not claimed by the module's associated MaterializationResponsibility. If this error is returned it is indicative of a broken transformation / compiler / object cache.

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Core.h:493

Inherits from: ErrorInfo

Member Variables

private std::shared_ptr<SymbolStringPool> SSP
private std::string ModuleName
private llvm::orc::SymbolNameVector Symbols
public static char ID

Method Overview

Methods

UnexpectedSymbolDefinitions(
    std::shared_ptr<SymbolStringPool> SSP,
    std::string ModuleName,
    llvm::orc::SymbolNameVector Symbols)

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Core.h:497

Parameters

std::shared_ptr<SymbolStringPool> SSP
std::string ModuleName
llvm::orc::SymbolNameVector Symbols

std::error_code convertToErrorCode() const

Description

Convert this error to a std::error_code. This is a temporary crutch to enable interaction with code still using std::error_code. It will be removed in the future.

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Core.h:501

const std::string& getModuleName() const

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Core.h:504

std::shared_ptr<SymbolStringPool>
getSymbolStringPool()

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Core.h:503

const llvm::orc::SymbolNameVector& getSymbols()
    const

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Core.h:505

void log(llvm::raw_ostream& OS) const

Description

Print an error message to an output stream.

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Core.h:502

Parameters

llvm::raw_ostream& OS