MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / logError

Function logError

lib/executor/engine/refInstr.cpp:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10
11template <typename... T>
12ErrCode logError(const ErrCode &Code, const AST::Instruction &Instr,
13 T &&...F) noexcept {
14 spdlog::error(Code);
15 (F(), ...);
16 spdlog::error(ErrInfo::InfoInstruction(Instr.getOpCode(), Instr.getOffset()));
17 return Code;
18}
19
20ErrCode logError(const ErrCode &Code, const AST::Instruction &Instr) noexcept {
21 spdlog::error(Code);

Callers 10

runRefAsNonNullOpMethod · 0.85
EXPECTED_TRYFunction · 0.85
runStructSetOpMethod · 0.85
runArraySetOpMethod · 0.85
runArrayLenOpMethod · 0.85
runArrayFillOpMethod · 0.85
runArrayCopyOpMethod · 0.85
runArrayInitDataOpMethod · 0.85
runArrayInitElemOpMethod · 0.85
runI31GetOpMethod · 0.85

Calls 5

FClass · 0.85
InfoInstructionClass · 0.85
errorFunction · 0.50
getOpCodeMethod · 0.45
getOffsetMethod · 0.45

Tested by

no test coverage detected