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

Function WasmEdge_ConfigureCompilerGetOutputFormat

lib/api/wasmedge.cpp:1072–1080  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1070}
1071
1072WASMEDGE_CAPI_EXPORT enum WasmEdge_CompilerOutputFormat
1073WasmEdge_ConfigureCompilerGetOutputFormat(
1074 const WasmEdge_ConfigureContext *Cxt) noexcept {
1075 if (Cxt) {
1076 return static_cast<WasmEdge_CompilerOutputFormat>(
1077 Cxt->Conf.getCompilerConfigure().getOutputFormat());
1078 }
1079 return WasmEdge_CompilerOutputFormat_Wasm;
1080}
1081
1082WASMEDGE_CAPI_EXPORT void
1083WasmEdge_ConfigureCompilerSetDumpIR(WasmEdge_ConfigureContext *Cxt,

Callers 1

TESTFunction · 0.85

Calls 1

getOutputFormatMethod · 0.80

Tested by 1

TESTFunction · 0.68