/src/WasmEdge/include/loader/loader.h
Line | Count | Source |
1 | | // SPDX-License-Identifier: Apache-2.0 |
2 | | // SPDX-FileCopyrightText: Copyright The WasmEdge Authors |
3 | | |
4 | | //===-- wasmedge/loader/loader.h - Loader flow control class definition ---===// |
5 | | // |
6 | | // Part of the WasmEdge Project. |
7 | | // |
8 | | //===----------------------------------------------------------------------===// |
9 | | /// |
10 | | /// \file |
11 | | /// This file contains the declaration of the Loader class, which controls the |
12 | | /// flow of WASM loading. |
13 | | /// |
14 | | //===----------------------------------------------------------------------===// |
15 | | #pragma once |
16 | | |
17 | | #include "ast/component/component.h" |
18 | | #include "ast/module.h" |
19 | | #include "ast/type.h" |
20 | | #include "common/configure.h" |
21 | | #include "common/errinfo.h" |
22 | | #include "loader/filemgr.h" |
23 | | #include "loader/serialize.h" |
24 | | #include "loader/shared_library.h" |
25 | | |
26 | | #include <cstdint> |
27 | | #include <memory> |
28 | | #include <mutex> |
29 | | #include <optional> |
30 | | #include <vector> |
31 | | |
32 | | namespace WasmEdge { |
33 | | namespace Loader { |
34 | | |
35 | | namespace { |
36 | | template <typename T> inline ASTNodeAttr NodeAttrFromAST() noexcept; |
37 | 154 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::CustomSection>() noexcept { |
38 | 154 | return ASTNodeAttr::Sec_Custom; |
39 | 154 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Line | Count | Source | 37 | 154 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::CustomSection>() noexcept { | 38 | 154 | return ASTNodeAttr::Sec_Custom; | 39 | 154 | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CustomSection>() |
40 | 81 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TypeSection>() noexcept { |
41 | 81 | return ASTNodeAttr::Sec_Type; |
42 | 81 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Line | Count | Source | 40 | 81 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TypeSection>() noexcept { | 41 | 81 | return ASTNodeAttr::Sec_Type; | 42 | 81 | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TypeSection>() |
43 | 342 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ImportSection>() noexcept { |
44 | 342 | return ASTNodeAttr::Sec_Import; |
45 | 342 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Line | Count | Source | 43 | 342 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ImportSection>() noexcept { | 44 | 342 | return ASTNodeAttr::Sec_Import; | 45 | 342 | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ImportSection>() |
46 | | template <> |
47 | 190 | inline ASTNodeAttr NodeAttrFromAST<AST::FunctionSection>() noexcept { |
48 | 190 | return ASTNodeAttr::Sec_Function; |
49 | 190 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Line | Count | Source | 47 | 190 | inline ASTNodeAttr NodeAttrFromAST<AST::FunctionSection>() noexcept { | 48 | 190 | return ASTNodeAttr::Sec_Function; | 49 | 190 | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionSection>() |
50 | 356 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TableSection>() noexcept { |
51 | 356 | return ASTNodeAttr::Sec_Table; |
52 | 356 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Line | Count | Source | 50 | 356 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TableSection>() noexcept { | 51 | 356 | return ASTNodeAttr::Sec_Table; | 52 | 356 | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TableSection>() |
53 | 178 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::MemorySection>() noexcept { |
54 | 178 | return ASTNodeAttr::Sec_Memory; |
55 | 178 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Line | Count | Source | 53 | 178 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::MemorySection>() noexcept { | 54 | 178 | return ASTNodeAttr::Sec_Memory; | 55 | 178 | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::MemorySection>() |
56 | 1.27k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::GlobalSection>() noexcept { |
57 | 1.27k | return ASTNodeAttr::Sec_Global; |
58 | 1.27k | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Line | Count | Source | 56 | 1.27k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::GlobalSection>() noexcept { | 57 | 1.27k | return ASTNodeAttr::Sec_Global; | 58 | 1.27k | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::GlobalSection>() |
59 | 269 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ExportSection>() noexcept { |
60 | 269 | return ASTNodeAttr::Sec_Export; |
61 | 269 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Line | Count | Source | 59 | 269 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ExportSection>() noexcept { | 60 | 269 | return ASTNodeAttr::Sec_Export; | 61 | 269 | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ExportSection>() |
62 | 75 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::StartSection>() noexcept { |
63 | 75 | return ASTNodeAttr::Sec_Start; |
64 | 75 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Line | Count | Source | 62 | 75 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::StartSection>() noexcept { | 63 | 75 | return ASTNodeAttr::Sec_Start; | 64 | 75 | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::StartSection>() |
65 | 3.87k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ElementSection>() noexcept { |
66 | 3.87k | return ASTNodeAttr::Sec_Element; |
67 | 3.87k | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Line | Count | Source | 65 | 3.87k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ElementSection>() noexcept { | 66 | 3.87k | return ASTNodeAttr::Sec_Element; | 67 | 3.87k | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSection>() |
68 | 2.08k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::CodeSection>() noexcept { |
69 | 2.08k | return ASTNodeAttr::Sec_Code; |
70 | 2.08k | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Line | Count | Source | 68 | 2.08k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::CodeSection>() noexcept { | 69 | 2.08k | return ASTNodeAttr::Sec_Code; | 70 | 2.08k | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() |
71 | 2.86k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::DataSection>() noexcept { |
72 | 2.86k | return ASTNodeAttr::Sec_Data; |
73 | 2.86k | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Line | Count | Source | 71 | 2.86k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::DataSection>() noexcept { | 72 | 2.86k | return ASTNodeAttr::Sec_Data; | 73 | 2.86k | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataSection>() |
74 | | template <> |
75 | 69 | inline ASTNodeAttr NodeAttrFromAST<AST::DataCountSection>() noexcept { |
76 | 69 | return ASTNodeAttr::Sec_DataCount; |
77 | 69 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Line | Count | Source | 75 | 69 | inline ASTNodeAttr NodeAttrFromAST<AST::DataCountSection>() noexcept { | 76 | 69 | return ASTNodeAttr::Sec_DataCount; | 77 | 69 | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::DataCountSection>() |
78 | 179 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TagSection>() noexcept { |
79 | 179 | return ASTNodeAttr::Sec_Tag; |
80 | 179 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Line | Count | Source | 78 | 179 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TagSection>() noexcept { | 79 | 179 | return ASTNodeAttr::Sec_Tag; | 80 | 179 | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::TagSection>() |
81 | 198 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::SubType>() noexcept { |
82 | 198 | return ASTNodeAttr::Type_Rec; |
83 | 198 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Line | Count | Source | 81 | 198 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::SubType>() noexcept { | 82 | 198 | return ASTNodeAttr::Type_Rec; | 83 | 198 | } |
Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::SubType>() |
84 | 227 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::FunctionType>() noexcept { |
85 | 227 | return ASTNodeAttr::Type_Function; |
86 | 227 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Line | Count | Source | 84 | 227 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::FunctionType>() noexcept { | 85 | 227 | return ASTNodeAttr::Type_Function; | 86 | 227 | } |
Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::FunctionType>() |
87 | 245 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ElementSegment>() noexcept { |
88 | 245 | return ASTNodeAttr::Seg_Element; |
89 | 245 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Line | Count | Source | 87 | 245 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ElementSegment>() noexcept { | 88 | 245 | return ASTNodeAttr::Seg_Element; | 89 | 245 | } |
Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::ElementSegment>() |
90 | | |
91 | | template <> |
92 | | inline ASTNodeAttr |
93 | 78 | NodeAttrFromAST<AST::Component::CoreModuleSection>() noexcept { |
94 | 78 | return ASTNodeAttr::Comp_Sec_CoreMod; |
95 | 78 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Line | Count | Source | 93 | 78 | NodeAttrFromAST<AST::Component::CoreModuleSection>() noexcept { | 94 | 78 | return ASTNodeAttr::Comp_Sec_CoreMod; | 95 | 78 | } |
Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreModuleSection>() |
96 | | template <> |
97 | | inline ASTNodeAttr |
98 | 323 | NodeAttrFromAST<AST::Component::CoreInstanceSection>() noexcept { |
99 | 323 | return ASTNodeAttr::Comp_Sec_CoreInstance; |
100 | 323 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Line | Count | Source | 98 | 323 | NodeAttrFromAST<AST::Component::CoreInstanceSection>() noexcept { | 99 | 323 | return ASTNodeAttr::Comp_Sec_CoreInstance; | 100 | 323 | } |
Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstanceSection>() |
101 | | template <> |
102 | 506 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreTypeSection>() noexcept { |
103 | 506 | return ASTNodeAttr::Comp_Sec_CoreType; |
104 | 506 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Line | Count | Source | 102 | 506 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreTypeSection>() noexcept { | 103 | 506 | return ASTNodeAttr::Comp_Sec_CoreType; | 104 | 506 | } |
Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreTypeSection>() |
105 | | template <> |
106 | | inline ASTNodeAttr |
107 | 50 | NodeAttrFromAST<AST::Component::ComponentSection>() noexcept { |
108 | 50 | return ASTNodeAttr::Comp_Sec_Component; |
109 | 50 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Line | Count | Source | 107 | 50 | NodeAttrFromAST<AST::Component::ComponentSection>() noexcept { | 108 | 50 | return ASTNodeAttr::Comp_Sec_Component; | 109 | 50 | } |
Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentSection>() |
110 | | template <> |
111 | 258 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::InstanceSection>() noexcept { |
112 | 258 | return ASTNodeAttr::Comp_Sec_Instance; |
113 | 258 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Line | Count | Source | 111 | 258 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::InstanceSection>() noexcept { | 112 | 258 | return ASTNodeAttr::Comp_Sec_Instance; | 113 | 258 | } |
Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceSection>() |
114 | | template <> |
115 | 140 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::AliasSection>() noexcept { |
116 | 140 | return ASTNodeAttr::Comp_Sec_Alias; |
117 | 140 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Line | Count | Source | 115 | 140 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::AliasSection>() noexcept { | 116 | 140 | return ASTNodeAttr::Comp_Sec_Alias; | 117 | 140 | } |
Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::AliasSection>() |
118 | | template <> |
119 | 1.21k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::TypeSection>() noexcept { |
120 | 1.21k | return ASTNodeAttr::Comp_Sec_Type; |
121 | 1.21k | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Line | Count | Source | 119 | 1.21k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::TypeSection>() noexcept { | 120 | 1.21k | return ASTNodeAttr::Comp_Sec_Type; | 121 | 1.21k | } |
Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TypeSection>() |
122 | | template <> |
123 | 672 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CanonSection>() noexcept { |
124 | 672 | return ASTNodeAttr::Comp_Sec_Canon; |
125 | 672 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Line | Count | Source | 123 | 672 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CanonSection>() noexcept { | 124 | 672 | return ASTNodeAttr::Comp_Sec_Canon; | 125 | 672 | } |
Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CanonSection>() |
126 | | template <> |
127 | 66 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::StartSection>() noexcept { |
128 | 66 | return ASTNodeAttr::Comp_Sec_Start; |
129 | 66 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Line | Count | Source | 127 | 66 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::StartSection>() noexcept { | 128 | 66 | return ASTNodeAttr::Comp_Sec_Start; | 129 | 66 | } |
Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StartSection>() |
130 | | template <> |
131 | 266 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ImportSection>() noexcept { |
132 | 266 | return ASTNodeAttr::Comp_Sec_Import; |
133 | 266 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Line | Count | Source | 131 | 266 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ImportSection>() noexcept { | 132 | 266 | return ASTNodeAttr::Comp_Sec_Import; | 133 | 266 | } |
Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ImportSection>() |
134 | | template <> |
135 | 158 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ExportSection>() noexcept { |
136 | 158 | return ASTNodeAttr::Comp_Sec_Export; |
137 | 158 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Line | Count | Source | 135 | 158 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ExportSection>() noexcept { | 136 | 158 | return ASTNodeAttr::Comp_Sec_Export; | 137 | 158 | } |
Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ExportSection>() |
138 | | template <> |
139 | 149 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ValueSection>() noexcept { |
140 | 149 | return ASTNodeAttr::Comp_Sec_Value; |
141 | 149 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Line | Count | Source | 139 | 149 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ValueSection>() noexcept { | 140 | 149 | return ASTNodeAttr::Comp_Sec_Value; | 141 | 149 | } |
Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ValueSection>() |
142 | | template <> |
143 | 205 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreInstance>() noexcept { |
144 | 205 | return ASTNodeAttr::Comp_CoreInstance; |
145 | 205 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Line | Count | Source | 143 | 205 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreInstance>() noexcept { | 144 | 205 | return ASTNodeAttr::Comp_CoreInstance; | 145 | 205 | } |
Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreInstance>() |
146 | | template <> |
147 | 194 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Instance>() noexcept { |
148 | 194 | return ASTNodeAttr::Comp_Instance; |
149 | 194 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Line | Count | Source | 147 | 194 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Instance>() noexcept { | 148 | 194 | return ASTNodeAttr::Comp_Instance; | 149 | 194 | } |
Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Instance>() |
150 | | template <> |
151 | 1.29k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreDefType>() noexcept { |
152 | 1.29k | return ASTNodeAttr::Comp_CoreDefType; |
153 | 1.29k | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Line | Count | Source | 151 | 1.29k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreDefType>() noexcept { | 152 | 1.29k | return ASTNodeAttr::Comp_CoreDefType; | 153 | 1.29k | } |
Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::CoreDefType>() |
154 | | template <> |
155 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::DefType>() noexcept { |
156 | 0 | return ASTNodeAttr::Comp_DefType; |
157 | 0 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::DefType>() |
158 | | template <> |
159 | 78 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FuncType>() noexcept { |
160 | 78 | return ASTNodeAttr::Comp_FuncType; |
161 | 78 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Line | Count | Source | 159 | 78 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FuncType>() noexcept { | 160 | 78 | return ASTNodeAttr::Comp_FuncType; | 161 | 78 | } |
Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FuncType>() |
162 | | template <> |
163 | 5.89k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ComponentType>() noexcept { |
164 | 5.89k | return ASTNodeAttr::Comp_ComponentType; |
165 | 5.89k | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Line | Count | Source | 163 | 5.89k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ComponentType>() noexcept { | 164 | 5.89k | return ASTNodeAttr::Comp_ComponentType; | 165 | 5.89k | } |
Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ComponentType>() |
166 | | template <> |
167 | 987 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::InstanceType>() noexcept { |
168 | 987 | return ASTNodeAttr::Comp_InstanceType; |
169 | 987 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Line | Count | Source | 167 | 987 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::InstanceType>() noexcept { | 168 | 987 | return ASTNodeAttr::Comp_InstanceType; | 169 | 987 | } |
Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::InstanceType>() |
170 | | template <> |
171 | 8 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ResourceType>() noexcept { |
172 | 8 | return ASTNodeAttr::Comp_ResourceType; |
173 | 8 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Line | Count | Source | 171 | 8 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ResourceType>() noexcept { | 172 | 8 | return ASTNodeAttr::Comp_ResourceType; | 173 | 8 | } |
Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResourceType>() |
174 | | template <> |
175 | 212 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Canonical>() noexcept { |
176 | 212 | return ASTNodeAttr::Comp_Canonical; |
177 | 212 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Line | Count | Source | 175 | 212 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Canonical>() noexcept { | 176 | 212 | return ASTNodeAttr::Comp_Canonical; | 177 | 212 | } |
Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Canonical>() |
178 | | template <> |
179 | 62 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Start>() noexcept { |
180 | 62 | return ASTNodeAttr::Comp_Start; |
181 | 62 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Line | Count | Source | 179 | 62 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Start>() noexcept { | 180 | 62 | return ASTNodeAttr::Comp_Start; | 181 | 62 | } |
Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Start>() |
182 | | template <> |
183 | 10 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Export>() noexcept { |
184 | 10 | return ASTNodeAttr::Comp_Export; |
185 | 10 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Line | Count | Source | 183 | 10 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Export>() noexcept { | 184 | 10 | return ASTNodeAttr::Comp_Export; | 185 | 10 | } |
Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::Export>() |
186 | | template <> |
187 | 63 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::RecordTy>() noexcept { |
188 | 63 | return ASTNodeAttr::Comp_Type_Record; |
189 | 63 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Line | Count | Source | 187 | 63 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::RecordTy>() noexcept { | 188 | 63 | return ASTNodeAttr::Comp_Type_Record; | 189 | 63 | } |
Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::RecordTy>() |
190 | | template <> |
191 | 142 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::VariantTy>() noexcept { |
192 | 142 | return ASTNodeAttr::Comp_Type_Variant; |
193 | 142 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Line | Count | Source | 191 | 142 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::VariantTy>() noexcept { | 192 | 142 | return ASTNodeAttr::Comp_Type_Variant; | 193 | 142 | } |
Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::VariantTy>() |
194 | | template <> |
195 | 65 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::TupleTy>() noexcept { |
196 | 65 | return ASTNodeAttr::Comp_Type_Tuple; |
197 | 65 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Line | Count | Source | 195 | 65 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::TupleTy>() noexcept { | 196 | 65 | return ASTNodeAttr::Comp_Type_Tuple; | 197 | 65 | } |
Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::TupleTy>() |
198 | | template <> |
199 | 58 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FlagsTy>() noexcept { |
200 | 58 | return ASTNodeAttr::Comp_Type_Flags; |
201 | 58 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Line | Count | Source | 199 | 58 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FlagsTy>() noexcept { | 200 | 58 | return ASTNodeAttr::Comp_Type_Flags; | 201 | 58 | } |
Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FlagsTy>() |
202 | | template <> |
203 | 92 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::EnumTy>() noexcept { |
204 | 92 | return ASTNodeAttr::Comp_Type_Enum; |
205 | 92 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Line | Count | Source | 203 | 92 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::EnumTy>() noexcept { | 204 | 92 | return ASTNodeAttr::Comp_Type_Enum; | 205 | 92 | } |
Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::EnumTy>() |
206 | | template <> |
207 | 12 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ResultTy>() noexcept { |
208 | 12 | return ASTNodeAttr::Comp_Type_Result; |
209 | 12 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Line | Count | Source | 207 | 12 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ResultTy>() noexcept { | 208 | 12 | return ASTNodeAttr::Comp_Type_Result; | 209 | 12 | } |
Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::ResultTy>() |
210 | | template <> |
211 | 6 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::StreamTy>() noexcept { |
212 | 6 | return ASTNodeAttr::Comp_Type_Stream; |
213 | 6 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Line | Count | Source | 211 | 6 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::StreamTy>() noexcept { | 212 | 6 | return ASTNodeAttr::Comp_Type_Stream; | 213 | 6 | } |
Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::StreamTy>() |
214 | | template <> |
215 | 16 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FutureTy>() noexcept { |
216 | 16 | return ASTNodeAttr::Comp_Type_Future; |
217 | 16 | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Line | Count | Source | 215 | 16 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FutureTy>() noexcept { | 216 | 16 | return ASTNodeAttr::Comp_Type_Future; | 217 | 16 | } |
Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component_value.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: wasm_c.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: wasmedge.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: fuzzTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: validateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: parseTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: instantiateTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: compilerTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: runtimeTool.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() Unexecuted instantiation: vm.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::Component::FutureTy>() |
218 | | |
219 | | } // namespace |
220 | | |
221 | | /// Loader flow control class. |
222 | | class Loader { |
223 | | public: |
224 | | Loader(const Configure &Conf, |
225 | | const Executable::IntrinsicsTable *IT = nullptr) noexcept |
226 | 30.8k | : Conf(Conf), IntrinsicsTable(IT) {} |
227 | 30.8k | ~Loader() noexcept = default; |
228 | | |
229 | | /// Load data from file path. |
230 | | static Expect<std::vector<Byte>> |
231 | | loadFile(const std::filesystem::path &FilePath); |
232 | | |
233 | | /// Parse module or component from file path. |
234 | | Expect<std::variant<std::unique_ptr<AST::Component::Component>, |
235 | | std::unique_ptr<AST::Module>>> |
236 | | parseWasmUnit(const std::filesystem::path &FilePath); |
237 | | |
238 | | /// Parse module or component from byte code. |
239 | | Expect<std::variant<std::unique_ptr<AST::Component::Component>, |
240 | | std::unique_ptr<AST::Module>>> |
241 | | parseWasmUnit(Span<const uint8_t> Code); |
242 | | |
243 | | /// Parse module from file path. |
244 | | Expect<std::unique_ptr<AST::Module>> |
245 | | parseModule(const std::filesystem::path &FilePath); |
246 | | |
247 | | /// Parse module from byte code. |
248 | | Expect<std::unique_ptr<AST::Module>> parseModule(Span<const uint8_t> Code); |
249 | | |
250 | | /// Serialize module into byte code. |
251 | | Expect<std::vector<Byte>> serializeModule(const AST::Module &Mod); |
252 | | |
253 | | /// Reset status. |
254 | 0 | void reset() noexcept { FMgr.reset(); } |
255 | | |
256 | | /// Set up Symbol from an Executable. |
257 | | Expect<void> loadExecutable(AST::Module &Mod, |
258 | | std::shared_ptr<Executable> Library); |
259 | | |
260 | | private: |
261 | | /// \name Helper functions to print error log when loading AST nodes |
262 | | /// @{ |
263 | | inline Unexpected<ErrCode> logLoadError(ErrCode Code, uint64_t Off, |
264 | 16.9k | ASTNodeAttr Node) const noexcept { |
265 | 16.9k | spdlog::error(Code); |
266 | 16.9k | spdlog::error(ErrInfo::InfoLoading(Off)); |
267 | 16.9k | spdlog::error(ErrInfo::InfoAST(Node)); |
268 | 16.9k | return Unexpect(Code); |
269 | 16.9k | } |
270 | | inline Unexpected<ErrCode> logNeedProposal(ErrCode Code, Proposal Prop, |
271 | | uint64_t Off, |
272 | 244 | ASTNodeAttr Node) const noexcept { |
273 | 244 | spdlog::error(Code); |
274 | 244 | spdlog::error(ErrInfo::InfoProposal(Prop)); |
275 | 244 | spdlog::error(ErrInfo::InfoLoading(Off)); |
276 | 244 | spdlog::error(ErrInfo::InfoAST(Node)); |
277 | 244 | return Unexpect(Code); |
278 | 244 | } |
279 | | /// @} |
280 | | |
281 | | /// \name Load AST Module functions |
282 | | /// @{ |
283 | | // Load component or module unit. |
284 | | Expect<std::variant<std::unique_ptr<AST::Component::Component>, |
285 | | std::unique_ptr<AST::Module>>> |
286 | | loadUnit(); |
287 | | |
288 | | // Load magic header or preamble. |
289 | | Expect<std::pair<std::vector<Byte>, std::vector<Byte>>> loadPreamble(); |
290 | | |
291 | | // Load WASM module. |
292 | | Expect<void> loadModule(AST::Module &Mod, |
293 | | std::optional<uint64_t> Bound = std::nullopt); |
294 | | |
295 | | // Load WASM for AOT. |
296 | | Expect<void> loadUniversalWASM(AST::Module &Mod); |
297 | | Expect<void> loadModuleAOT(AST::AOTSection &AOTSection); |
298 | | |
299 | | // Load component. |
300 | | Expect<void> loadComponent(AST::Component::Component &Comp, |
301 | | std::optional<uint64_t> Bound = std::nullopt); |
302 | | /// @} |
303 | | |
304 | | /// \name Load AST section node helper functions |
305 | | /// @{ |
306 | 8.80M | Expect<uint32_t> loadVecCnt() { |
307 | | // Read the vector size. |
308 | 8.80M | EXPECTED_TRY(auto Cnt, FMgr.readU32()); |
309 | 8.80M | if (Cnt / 2 > FMgr.getRemainSize()) { |
310 | 1.50k | return Unexpect(ErrCode::Value::IntegerTooLong); |
311 | 1.50k | } |
312 | 8.80M | return Cnt; |
313 | 8.80M | } |
314 | | |
315 | | template <typename ASTType, typename T, typename ElemLoader> |
316 | 8.68M | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { |
317 | | // Read the vector size. |
318 | 8.68M | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { |
319 | 8.67M | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); |
320 | 8.67M | })); |
321 | 8.67M | Vec.resize(VecCnt); |
322 | | |
323 | | // Sequently create the AST node T and read data. |
324 | 15.3M | for (uint32_t I = 0; I < VecCnt; ++I) { |
325 | 6.64M | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { |
326 | 6.64M | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); |
327 | 6.64M | return E; |
328 | 6.64M | })); |
329 | 6.64M | } |
330 | 8.65M | return {}; |
331 | 8.67M | } component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::CoreInstanceSection, WasmEdge::AST::Component::CoreInstance, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreInstanceSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::CoreInstance&)#1}>(std::__1::vector<WasmEdge::AST::Component::CoreInstance, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreInstanceSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::CoreInstance&)#1}&&)Line | Count | Source | 316 | 89.4k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 89.4k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 89.4k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 89.4k | })); | 321 | 89.4k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 574k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 484k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 484k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 484k | return E; | 328 | 484k | })); | 329 | 484k | } | 330 | 89.1k | return {}; | 331 | 89.4k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::CoreTypeSection, WasmEdge::AST::Component::CoreDefType, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreTypeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::CoreDefType&)#1}>(std::__1::vector<WasmEdge::AST::Component::CoreDefType, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreTypeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::CoreDefType&)#1}&&)Line | Count | Source | 316 | 180k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 180k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 180k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 180k | })); | 321 | 180k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 313k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 133k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 133k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 133k | return E; | 328 | 133k | })); | 329 | 133k | } | 330 | 179k | return {}; | 331 | 180k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::InstanceSection, WasmEdge::AST::Component::Instance, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::InstanceSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Instance&)#1}>(std::__1::vector<WasmEdge::AST::Component::Instance, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::InstanceSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Instance&)#1}&&)Line | Count | Source | 316 | 1.50M | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 1.50M | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 1.50M | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 1.50M | })); | 321 | 1.50M | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 2.96M | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 1.45M | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 1.45M | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 1.45M | return E; | 328 | 1.45M | })); | 329 | 1.45M | } | 330 | 1.50M | return {}; | 331 | 1.50M | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::AliasSection, WasmEdge::AST::Component::Alias, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::AliasSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Alias&)#1}>(std::__1::vector<WasmEdge::AST::Component::Alias, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::AliasSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Alias&)#1}&&)Line | Count | Source | 316 | 6.32k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 6.32k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 6.31k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 6.31k | })); | 321 | 6.31k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 12.8k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 6.65k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 6.65k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 6.65k | return E; | 328 | 6.65k | })); | 329 | 6.65k | } | 330 | 6.22k | return {}; | 331 | 6.31k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::TypeSection, WasmEdge::AST::Component::DefType, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::TypeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::DefType&)#1}>(std::__1::vector<WasmEdge::AST::Component::DefType, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::TypeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::DefType&)#1}&&)Line | Count | Source | 316 | 2.62M | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 2.62M | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 2.62M | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 2.62M | })); | 321 | 2.62M | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 5.13M | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 2.50M | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 2.50M | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 2.50M | return E; | 328 | 2.50M | })); | 329 | 2.50M | } | 330 | 2.62M | return {}; | 331 | 2.62M | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::CanonSection, WasmEdge::AST::Component::Canonical, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CanonSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Canonical&)#1}>(std::__1::vector<WasmEdge::AST::Component::Canonical, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CanonSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Canonical&)#1}&&)Line | Count | Source | 316 | 56.5k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 56.5k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 56.4k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 56.4k | })); | 321 | 56.4k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 124k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 68.9k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 68.9k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 68.9k | return E; | 328 | 68.9k | })); | 329 | 68.9k | } | 330 | 55.9k | return {}; | 331 | 56.4k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::ImportSection, WasmEdge::AST::Component::Import, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ImportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Import&)#1}>(std::__1::vector<WasmEdge::AST::Component::Import, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ImportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Import&)#1}&&)Line | Count | Source | 316 | 78.8k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 78.8k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 78.8k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 78.8k | })); | 321 | 78.8k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 85.7k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 7.08k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 7.08k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 7.08k | return E; | 328 | 7.08k | })); | 329 | 7.08k | } | 330 | 78.6k | return {}; | 331 | 78.8k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::ExportSection, WasmEdge::AST::Component::Export, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ExportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Export&)#1}>(std::__1::vector<WasmEdge::AST::Component::Export, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ExportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Export&)#1}&&)Line | Count | Source | 316 | 6.53k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 6.53k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 6.50k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 6.50k | })); | 321 | 6.50k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 9.49k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 3.08k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 3.08k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 3.08k | return E; | 328 | 3.08k | })); | 329 | 3.08k | } | 330 | 6.41k | return {}; | 331 | 6.50k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::ValueSection, WasmEdge::AST::Component::Value, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ValueSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Value&)#1}>(std::__1::vector<WasmEdge::AST::Component::Value, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ValueSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Value&)#1}&&)Line | Count | Source | 316 | 14.4k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 14.4k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 14.3k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 14.3k | })); | 321 | 14.3k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 30.7k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 16.4k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 16.4k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 16.4k | return E; | 328 | 16.4k | })); | 329 | 16.4k | } | 330 | 14.3k | return {}; | 331 | 14.3k | } |
component_instance.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::CoreInstance, WasmEdge::AST::Component::InstantiateArg<unsigned int>, WasmEdge::Loader::Loader::loadInstance(WasmEdge::AST::Component::CoreInstance&)::$_0&>(std::__1::vector<WasmEdge::AST::Component::InstantiateArg<unsigned int>, std::__1::allocator<WasmEdge::AST::Component::InstantiateArg<unsigned int> > >&, WasmEdge::Loader::Loader::loadInstance(WasmEdge::AST::Component::CoreInstance&)::$_0&) Line | Count | Source | 316 | 395k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 395k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 395k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 395k | })); | 321 | 395k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 396k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 501 | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 501 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 501 | return E; | 328 | 501 | })); | 329 | 501 | } | 330 | 395k | return {}; | 331 | 395k | } |
component_instance.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::CoreInstance, WasmEdge::AST::Component::InlineExport, WasmEdge::Loader::Loader::loadInstance(WasmEdge::AST::Component::CoreInstance&)::$_1&>(std::__1::vector<WasmEdge::AST::Component::InlineExport, std::__1::allocator<WasmEdge::AST::Component::InlineExport> >&, WasmEdge::Loader::Loader::loadInstance(WasmEdge::AST::Component::CoreInstance&)::$_1&) Line | Count | Source | 316 | 89.1k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 89.1k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 89.0k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 89.0k | })); | 321 | 89.0k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 95.7k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 6.72k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 6.72k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 6.72k | return E; | 328 | 6.72k | })); | 329 | 6.72k | } | 330 | 89.0k | return {}; | 331 | 89.0k | } |
component_instance.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::Instance, WasmEdge::AST::Component::InstantiateArg<WasmEdge::AST::Component::SortIndex>, WasmEdge::Loader::Loader::loadInstance(WasmEdge::AST::Component::Instance&)::$_0&>(std::__1::vector<WasmEdge::AST::Component::InstantiateArg<WasmEdge::AST::Component::SortIndex>, std::__1::allocator<WasmEdge::AST::Component::InstantiateArg<WasmEdge::AST::Component::SortIndex> > >&, WasmEdge::Loader::Loader::loadInstance(WasmEdge::AST::Component::Instance&)::$_0&) Line | Count | Source | 316 | 300k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 300k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 300k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 300k | })); | 321 | 300k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 304k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 3.51k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 3.51k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 3.51k | return E; | 328 | 3.51k | })); | 329 | 3.51k | } | 330 | 300k | return {}; | 331 | 300k | } |
component_instance.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::Instance, WasmEdge::AST::Component::InlineExport, WasmEdge::Loader::Loader::loadInstance(WasmEdge::AST::Component::Instance&)::$_1&>(std::__1::vector<WasmEdge::AST::Component::InlineExport, std::__1::allocator<WasmEdge::AST::Component::InlineExport> >&, WasmEdge::Loader::Loader::loadInstance(WasmEdge::AST::Component::Instance&)::$_1&) Line | Count | Source | 316 | 1.15M | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 1.15M | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 1.15M | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 1.15M | })); | 321 | 1.15M | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 1.15M | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 2.19k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 2.19k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 2.19k | return E; | 328 | 2.19k | })); | 329 | 2.19k | } | 330 | 1.15M | return {}; | 331 | 1.15M | } |
component_canonical.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::Canonical, WasmEdge::AST::Component::CanonOpt, WasmEdge::Loader::Loader::loadCanonical(WasmEdge::AST::Component::Canonical&)::$_4::operator()() const::{lambda(WasmEdge::AST::Component::CanonOpt&)#1}>(std::__1::vector<WasmEdge::AST::Component::CanonOpt, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadCanonical(WasmEdge::AST::Component::Canonical&)::$_4::operator()() const::{lambda(WasmEdge::AST::Component::CanonOpt&)#1}&&)Line | Count | Source | 316 | 16.6k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 16.6k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 16.5k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 16.5k | })); | 321 | 16.5k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 24.1k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 7.64k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 7.64k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 7.64k | return E; | 328 | 7.64k | })); | 329 | 7.64k | } | 330 | 16.4k | return {}; | 331 | 16.5k | } |
component_canonical.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::Canonical, WasmEdge::AST::Component::LabelValType, WasmEdge::Loader::Loader::loadCanonical(WasmEdge::AST::Component::Canonical&)::$_5>(std::__1::vector<WasmEdge::AST::Component::LabelValType, std::__1::allocator<WasmEdge::AST::Component::LabelValType> >&, WasmEdge::Loader::Loader::loadCanonical(WasmEdge::AST::Component::Canonical&)::$_5&&) Line | Count | Source | 316 | 443 | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 443 | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 413 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 413 | })); | 321 | 413 | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 61.2k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 60.8k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 60.8k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 60.8k | return E; | 328 | 60.8k | })); | 329 | 60.8k | } | 330 | 394 | return {}; | 331 | 413 | } |
component_start.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::Start, unsigned int, WasmEdge::Loader::Loader::loadStart(WasmEdge::AST::Component::Start&)::$_1&>(std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&, WasmEdge::Loader::Loader::loadStart(WasmEdge::AST::Component::Start&)::$_1&) Line | Count | Source | 316 | 977 | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 977 | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 945 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 945 | })); | 321 | 945 | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 924k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 923k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 923k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 923k | return E; | 328 | 923k | })); | 329 | 923k | } | 330 | 915 | return {}; | 331 | 945 | } |
component_type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::CoreDefType, WasmEdge::AST::Component::CoreModuleDecl, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::CoreDefType&)::$_3>(std::__1::vector<WasmEdge::AST::Component::CoreModuleDecl, std::__1::allocator<WasmEdge::AST::Component::CoreModuleDecl> >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::CoreDefType&)::$_3&&) Line | Count | Source | 316 | 113k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 113k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 113k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 113k | })); | 321 | 113k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 134k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 22.2k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 22.2k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 22.2k | return E; | 328 | 22.2k | })); | 329 | 22.2k | } | 330 | 112k | return {}; | 331 | 113k | } |
component_type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::FuncType, WasmEdge::AST::Component::LabelValType, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::FuncType&)::$_3>(std::__1::vector<WasmEdge::AST::Component::LabelValType, std::__1::allocator<WasmEdge::AST::Component::LabelValType> >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::FuncType&)::$_3&&) Line | Count | Source | 316 | 765k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 765k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 765k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 765k | })); | 321 | 765k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 786k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 21.4k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 21.4k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 21.4k | return E; | 328 | 21.4k | })); | 329 | 21.4k | } | 330 | 765k | return {}; | 331 | 765k | } |
component_type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::ComponentType, WasmEdge::AST::Component::ComponentDecl, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::ComponentType&)::$_0>(std::__1::vector<WasmEdge::AST::Component::ComponentDecl, std::__1::allocator<WasmEdge::AST::Component::ComponentDecl> >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::ComponentType&)::$_0&&) Line | Count | Source | 316 | 754k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 754k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 754k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 754k | })); | 321 | 754k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 764k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 16.1k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 16.1k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 16.1k | return E; | 328 | 16.1k | })); | 329 | 16.1k | } | 330 | 748k | return {}; | 331 | 754k | } |
component_type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::InstanceType, WasmEdge::AST::Component::InstanceDecl, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::InstanceType&)::$_0>(std::__1::vector<WasmEdge::AST::Component::InstanceDecl, std::__1::allocator<WasmEdge::AST::Component::InstanceDecl> >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::InstanceType&)::$_0&&) Line | Count | Source | 316 | 352k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 352k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 352k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 352k | })); | 321 | 352k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 355k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 4.56k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 4.56k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 4.56k | return E; | 328 | 4.56k | })); | 329 | 4.56k | } | 330 | 351k | return {}; | 331 | 352k | } |
component_type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::RecordTy, WasmEdge::AST::Component::LabelValType, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::RecordTy&)::$_0>(std::__1::vector<WasmEdge::AST::Component::LabelValType, std::__1::allocator<WasmEdge::AST::Component::LabelValType> >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::RecordTy&)::$_0&&) Line | Count | Source | 316 | 1.10k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 1.10k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 1.06k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 1.06k | })); | 321 | 1.06k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 2.84k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 1.80k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 1.80k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 1.80k | return E; | 328 | 1.80k | })); | 329 | 1.80k | } | 330 | 1.03k | return {}; | 331 | 1.06k | } |
component_type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::VariantTy, std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::optional<WasmEdge::ComponentValType> >, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::VariantTy&)::$_1>(std::__1::vector<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::optional<WasmEdge::ComponentValType> >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::optional<WasmEdge::ComponentValType> > > >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::VariantTy&)::$_1&&) Line | Count | Source | 316 | 4.48k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 4.48k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 4.45k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 4.45k | })); | 321 | 4.45k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 9.26k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 4.89k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 4.89k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 4.89k | return E; | 328 | 4.89k | })); | 329 | 4.89k | } | 330 | 4.36k | return {}; | 331 | 4.45k | } |
component_type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::TupleTy, WasmEdge::ComponentValType, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::TupleTy&)::$_0>(std::__1::vector<WasmEdge::ComponentValType, std::__1::allocator<WasmEdge::ComponentValType> >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::TupleTy&)::$_0&&) Line | Count | Source | 316 | 2.23k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 2.23k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 2.20k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 2.20k | })); | 321 | 2.20k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 6.90k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 4.73k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 4.73k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 4.73k | return E; | 328 | 4.73k | })); | 329 | 4.73k | } | 330 | 2.17k | return {}; | 331 | 2.20k | } |
component_type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::FlagsTy, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::FlagsTy&)::$_1>(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::FlagsTy&)::$_1&&) Line | Count | Source | 316 | 1.84k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 1.84k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 1.81k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 1.81k | })); | 321 | 1.81k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 22.6k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 20.9k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 20.9k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 20.9k | return E; | 328 | 20.9k | })); | 329 | 20.9k | } | 330 | 1.78k | return {}; | 331 | 1.81k | } |
component_type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::EnumTy, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::EnumTy&)::$_1>(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::EnumTy&)::$_1&&) Line | Count | Source | 316 | 2.81k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 2.81k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 2.78k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 2.78k | })); | 321 | 2.78k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 8.17k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 5.45k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 5.45k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 5.45k | return E; | 328 | 5.45k | })); | 329 | 5.45k | } | 330 | 2.72k | return {}; | 331 | 2.78k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::ImportSection, WasmEdge::AST::ImportDesc, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ImportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ImportDesc&)#1}>(std::__1::vector<WasmEdge::AST::ImportDesc, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ImportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ImportDesc&)#1}&&)Line | Count | Source | 316 | 4.19k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 4.19k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 4.15k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 4.15k | })); | 321 | 4.15k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 118k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 114k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 114k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 114k | return E; | 328 | 114k | })); | 329 | 114k | } | 330 | 3.93k | return {}; | 331 | 4.15k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::FunctionSection, unsigned int, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::FunctionSection&)::$_0::operator()() const::{lambda(unsigned int&)#1}>(std::__1::vector<unsigned int, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::FunctionSection&)::$_0::operator()() const::{lambda(unsigned int&)#1}&&)Line | Count | Source | 316 | 7.19k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 7.19k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 7.14k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 7.14k | })); | 321 | 7.14k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 181k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 174k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 174k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 174k | return E; | 328 | 174k | })); | 329 | 174k | } | 330 | 7.09k | return {}; | 331 | 7.14k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::TableSection, WasmEdge::AST::TableSegment, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TableSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::TableSegment&)#1}>(std::__1::vector<WasmEdge::AST::TableSegment, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TableSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::TableSegment&)#1}&&)Line | Count | Source | 316 | 3.16k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 3.16k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 3.11k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 3.11k | })); | 321 | 3.11k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 27.2k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 24.3k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 24.3k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 24.3k | return E; | 328 | 24.3k | })); | 329 | 24.3k | } | 330 | 2.90k | return {}; | 331 | 3.11k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::MemorySection, WasmEdge::AST::MemoryType, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::MemorySection&)::$_0::operator()() const::{lambda(WasmEdge::AST::MemoryType&)#1}>(std::__1::vector<WasmEdge::AST::MemoryType, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::MemorySection&)::$_0::operator()() const::{lambda(WasmEdge::AST::MemoryType&)#1}&&)Line | Count | Source | 316 | 2.32k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 2.32k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 2.29k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 2.29k | })); | 321 | 2.29k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 6.99k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 4.78k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 4.78k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 4.78k | return E; | 328 | 4.78k | })); | 329 | 4.78k | } | 330 | 2.20k | return {}; | 331 | 2.29k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::GlobalSection, WasmEdge::AST::GlobalSegment, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::GlobalSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::GlobalSegment&)#1}>(std::__1::vector<WasmEdge::AST::GlobalSegment, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::GlobalSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::GlobalSegment&)#1}&&)Line | Count | Source | 316 | 3.10k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 3.10k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 3.06k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 3.06k | })); | 321 | 3.06k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 9.42k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 7.49k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 7.49k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 7.49k | return E; | 328 | 7.49k | })); | 329 | 7.49k | } | 330 | 1.93k | return {}; | 331 | 3.06k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::ExportSection, WasmEdge::AST::ExportDesc, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ExportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ExportDesc&)#1}>(std::__1::vector<WasmEdge::AST::ExportDesc, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ExportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ExportDesc&)#1}&&)Line | Count | Source | 316 | 1.93k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 1.93k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 1.89k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 1.89k | })); | 321 | 1.89k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 41.8k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 40.1k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 40.1k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 40.1k | return E; | 328 | 40.1k | })); | 329 | 40.1k | } | 330 | 1.74k | return {}; | 331 | 1.89k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::ElementSection, WasmEdge::AST::ElementSegment, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ElementSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ElementSegment&)#1}>(std::__1::vector<WasmEdge::AST::ElementSegment, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ElementSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ElementSegment&)#1}&&)Line | Count | Source | 316 | 6.11k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 6.11k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 6.06k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 6.06k | })); | 321 | 6.06k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 18.7k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 16.4k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 16.4k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 16.4k | return E; | 328 | 16.4k | })); | 329 | 16.4k | } | 330 | 2.34k | return {}; | 331 | 6.06k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::CodeSection, WasmEdge::AST::CodeSegment, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::CodeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::CodeSegment&)#1}>(std::__1::vector<WasmEdge::AST::CodeSegment, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::CodeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::CodeSegment&)#1}&&)Line | Count | Source | 316 | 8.16k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 8.16k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 8.11k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 8.11k | })); | 321 | 8.11k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 50.9k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 44.7k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 44.7k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 44.7k | return E; | 328 | 44.7k | })); | 329 | 44.7k | } | 330 | 6.14k | return {}; | 331 | 8.11k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::DataSection, WasmEdge::AST::DataSegment, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::DataSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::DataSegment&)#1}>(std::__1::vector<WasmEdge::AST::DataSegment, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::DataSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::DataSegment&)#1}&&)Line | Count | Source | 316 | 5.31k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 5.31k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 5.28k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 5.28k | })); | 321 | 5.28k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 15.1k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 12.6k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 12.6k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 12.6k | return E; | 328 | 12.6k | })); | 329 | 12.6k | } | 330 | 2.52k | return {}; | 331 | 5.28k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::TagSection, WasmEdge::AST::TagType, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TagSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::TagType&)#1}>(std::__1::vector<WasmEdge::AST::TagType, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TagSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::TagType&)#1}&&)Line | Count | Source | 316 | 384 | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 384 | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 336 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 336 | })); | 321 | 336 | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 7.22k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 6.94k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 6.94k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 6.94k | return E; | 328 | 6.94k | })); | 329 | 6.94k | } | 330 | 284 | return {}; | 331 | 336 | } |
segment.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::ElementSegment, WasmEdge::AST::Expression, WasmEdge::Loader::Loader::loadSegment(WasmEdge::AST::ElementSegment&)::$_6>(std::__1::vector<WasmEdge::AST::Expression, std::__1::allocator<WasmEdge::AST::Expression> >&, WasmEdge::Loader::Loader::loadSegment(WasmEdge::AST::ElementSegment&)::$_6&&) Line | Count | Source | 316 | 3.31k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 3.31k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 3.24k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 3.24k | })); | 321 | 3.24k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 17.2k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 14.1k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 14.1k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 14.1k | return E; | 328 | 14.1k | })); | 329 | 14.1k | } | 330 | 3.06k | return {}; | 331 | 3.24k | } |
type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::SubType, WasmEdge::AST::FieldType, WasmEdge::Loader::Loader::loadCompositeType(WasmEdge::AST::CompositeType&)::$_1>(std::__1::vector<WasmEdge::AST::FieldType, std::__1::allocator<WasmEdge::AST::FieldType> >&, WasmEdge::Loader::Loader::loadCompositeType(WasmEdge::AST::CompositeType&)::$_1&&) Line | Count | Source | 316 | 33.5k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 33.5k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 33.5k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 33.5k | })); | 321 | 33.5k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 98.9k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 65.4k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 65.4k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 65.4k | return E; | 328 | 65.4k | })); | 329 | 65.4k | } | 330 | 33.4k | return {}; | 331 | 33.5k | } |
type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::SubType, unsigned int, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::SubType&)::$_1&>(std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::SubType&)::$_1&) Line | Count | Source | 316 | 19.0k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 19.0k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 19.0k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 19.0k | })); | 321 | 19.0k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 64.6k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 45.6k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 45.6k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 45.6k | return E; | 328 | 45.6k | })); | 329 | 45.6k | } | 330 | 18.9k | return {}; | 331 | 19.0k | } |
type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::FunctionType, WasmEdge::ValType, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::FunctionType&)::$_0&>(std::__1::vector<WasmEdge::ValType, std::__1::allocator<WasmEdge::ValType> >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::FunctionType&)::$_0&) Line | Count | Source | 316 | 63.3k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 317 | | // Read the vector size. | 318 | 63.3k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 319 | 63.3k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 320 | 63.3k | })); | 321 | 63.3k | Vec.resize(VecCnt); | 322 | | | 323 | | // Sequently create the AST node T and read data. | 324 | 347k | for (uint32_t I = 0; I < VecCnt; ++I) { | 325 | 284k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 326 | 284k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 327 | 284k | return E; | 328 | 284k | })); | 329 | 284k | } | 330 | 63.1k | return {}; | 331 | 63.3k | } |
|
332 | | |
333 | | template <typename T, typename ElemLoader> |
334 | 7.47M | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { |
335 | 7.47M | Sec.setStartOffset(FMgr.getOffset()); |
336 | | // Load the section size first. |
337 | 7.47M | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { |
338 | 7.47M | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); |
339 | 7.47M | })); |
340 | | |
341 | | // Check the remain file/buffer size. |
342 | 7.47M | if (unlikely(FMgr.getRemainSize() < SecSize)) { |
343 | 906 | return logLoadError(ErrCode::Value::LengthOutOfBounds, |
344 | 906 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); |
345 | 906 | } |
346 | | |
347 | | // Set the section size. |
348 | 7.47M | Sec.setContentSize(SecSize); |
349 | 7.47M | auto StartOffset = FMgr.getOffset(); |
350 | | |
351 | | // Invoke the callback function. |
352 | 7.47M | EXPECTED_TRY(Func()); |
353 | | |
354 | | // Check the read size matches the section size. |
355 | 7.45M | auto EndOffset = FMgr.getOffset(); |
356 | 7.45M | if (EndOffset - StartOffset != Sec.getContentSize()) { |
357 | 745 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, |
358 | 745 | NodeAttrFromAST<T>()); |
359 | 745 | } |
360 | 7.45M | return {}; |
361 | 7.45M | } component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::CoreModuleSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreModuleSection&)::$_0>(WasmEdge::AST::Component::CoreModuleSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreModuleSection&)::$_0&&) Line | Count | Source | 334 | 8.23k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 8.23k | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 8.23k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 8.21k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 8.21k | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 8.21k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 44 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 44 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 44 | } | 346 | | | 347 | | // Set the section size. | 348 | 8.16k | Sec.setContentSize(SecSize); | 349 | 8.16k | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 8.16k | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 8.03k | auto EndOffset = FMgr.getOffset(); | 356 | 8.03k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 11 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 11 | NodeAttrFromAST<T>()); | 359 | 11 | } | 360 | 8.02k | return {}; | 361 | 8.03k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::CoreInstanceSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreInstanceSection&)::$_0>(WasmEdge::AST::Component::CoreInstanceSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreInstanceSection&)::$_0&&) Line | Count | Source | 334 | 89.4k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 89.4k | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 89.4k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 89.4k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 89.4k | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 89.4k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 26 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 26 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 26 | } | 346 | | | 347 | | // Set the section size. | 348 | 89.4k | Sec.setContentSize(SecSize); | 349 | 89.4k | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 89.4k | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 89.1k | auto EndOffset = FMgr.getOffset(); | 356 | 89.1k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 11 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 11 | NodeAttrFromAST<T>()); | 359 | 11 | } | 360 | 89.1k | return {}; | 361 | 89.1k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::CoreTypeSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreTypeSection&)::$_0>(WasmEdge::AST::Component::CoreTypeSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreTypeSection&)::$_0&&) Line | Count | Source | 334 | 180k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 180k | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 180k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 180k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 180k | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 180k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 29 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 29 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 29 | } | 346 | | | 347 | | // Set the section size. | 348 | 180k | Sec.setContentSize(SecSize); | 349 | 180k | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 180k | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 179k | auto EndOffset = FMgr.getOffset(); | 356 | 179k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 30 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 30 | NodeAttrFromAST<T>()); | 359 | 30 | } | 360 | 179k | return {}; | 361 | 179k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::ComponentSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ComponentSection&)::$_0>(WasmEdge::AST::Component::ComponentSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ComponentSection&)::$_0&&) Line | Count | Source | 334 | 102k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 102k | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 102k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 102k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 102k | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 102k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 30 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 30 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 30 | } | 346 | | | 347 | | // Set the section size. | 348 | 102k | Sec.setContentSize(SecSize); | 349 | 102k | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 102k | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 100k | auto EndOffset = FMgr.getOffset(); | 356 | 100k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 11 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 11 | NodeAttrFromAST<T>()); | 359 | 11 | } | 360 | 100k | return {}; | 361 | 100k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::InstanceSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::InstanceSection&)::$_0>(WasmEdge::AST::Component::InstanceSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::InstanceSection&)::$_0&&) Line | Count | Source | 334 | 1.50M | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 1.50M | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 1.50M | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 1.50M | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 1.50M | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 1.50M | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 7 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 7 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 7 | } | 346 | | | 347 | | // Set the section size. | 348 | 1.50M | Sec.setContentSize(SecSize); | 349 | 1.50M | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 1.50M | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 1.50M | auto EndOffset = FMgr.getOffset(); | 356 | 1.50M | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 9 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 9 | NodeAttrFromAST<T>()); | 359 | 9 | } | 360 | 1.50M | return {}; | 361 | 1.50M | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::AliasSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::AliasSection&)::$_0>(WasmEdge::AST::Component::AliasSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::AliasSection&)::$_0&&) Line | Count | Source | 334 | 6.34k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 6.34k | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 6.34k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 6.33k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 6.33k | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 6.33k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 9 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 9 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 9 | } | 346 | | | 347 | | // Set the section size. | 348 | 6.32k | Sec.setContentSize(SecSize); | 349 | 6.32k | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 6.32k | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 6.22k | auto EndOffset = FMgr.getOffset(); | 356 | 6.22k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 22 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 22 | NodeAttrFromAST<T>()); | 359 | 22 | } | 360 | 6.20k | return {}; | 361 | 6.22k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::TypeSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::TypeSection&)::$_0>(WasmEdge::AST::Component::TypeSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::TypeSection&)::$_0&&) Line | Count | Source | 334 | 2.62M | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 2.62M | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 2.62M | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 2.62M | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 2.62M | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 2.62M | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 21 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 21 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 21 | } | 346 | | | 347 | | // Set the section size. | 348 | 2.62M | Sec.setContentSize(SecSize); | 349 | 2.62M | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 2.62M | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 2.62M | auto EndOffset = FMgr.getOffset(); | 356 | 2.62M | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 83 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 83 | NodeAttrFromAST<T>()); | 359 | 83 | } | 360 | 2.62M | return {}; | 361 | 2.62M | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::CanonSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CanonSection&)::$_0>(WasmEdge::AST::Component::CanonSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CanonSection&)::$_0&&) Line | Count | Source | 334 | 56.5k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 56.5k | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 56.5k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 56.5k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 56.5k | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 56.5k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 21 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 21 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 21 | } | 346 | | | 347 | | // Set the section size. | 348 | 56.5k | Sec.setContentSize(SecSize); | 349 | 56.5k | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 56.5k | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 55.9k | auto EndOffset = FMgr.getOffset(); | 356 | 55.9k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 44 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 44 | NodeAttrFromAST<T>()); | 359 | 44 | } | 360 | 55.8k | return {}; | 361 | 55.9k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::StartSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::StartSection&)::$_0>(WasmEdge::AST::Component::StartSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::StartSection&)::$_0&&) Line | Count | Source | 334 | 1.01k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 1.01k | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 1.01k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 1.00k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 1.00k | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 1.00k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 28 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 28 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 28 | } | 346 | | | 347 | | // Set the section size. | 348 | 981 | Sec.setContentSize(SecSize); | 349 | 981 | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 981 | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 910 | auto EndOffset = FMgr.getOffset(); | 356 | 910 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 33 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 33 | NodeAttrFromAST<T>()); | 359 | 33 | } | 360 | 877 | return {}; | 361 | 910 | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::ImportSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ImportSection&)::$_0>(WasmEdge::AST::Component::ImportSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ImportSection&)::$_0&&) Line | Count | Source | 334 | 78.8k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 78.8k | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 78.8k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 78.8k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 78.8k | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 78.8k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 22 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 22 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 22 | } | 346 | | | 347 | | // Set the section size. | 348 | 78.8k | Sec.setContentSize(SecSize); | 349 | 78.8k | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 78.8k | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 78.6k | auto EndOffset = FMgr.getOffset(); | 356 | 78.6k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 10 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 10 | NodeAttrFromAST<T>()); | 359 | 10 | } | 360 | 78.6k | return {}; | 361 | 78.6k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::ExportSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ExportSection&)::$_0>(WasmEdge::AST::Component::ExportSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ExportSection&)::$_0&&) Line | Count | Source | 334 | 6.57k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 6.57k | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 6.57k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 6.56k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 6.56k | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 6.56k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 28 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 28 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 28 | } | 346 | | | 347 | | // Set the section size. | 348 | 6.53k | Sec.setContentSize(SecSize); | 349 | 6.53k | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 6.53k | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 6.41k | auto EndOffset = FMgr.getOffset(); | 356 | 6.41k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 4 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 4 | NodeAttrFromAST<T>()); | 359 | 4 | } | 360 | 6.41k | return {}; | 361 | 6.41k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::ValueSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ValueSection&)::$_0>(WasmEdge::AST::Component::ValueSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ValueSection&)::$_0&&) Line | Count | Source | 334 | 14.4k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 14.4k | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 14.4k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 14.4k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 14.4k | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 14.4k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 28 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 28 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 28 | } | 346 | | | 347 | | // Set the section size. | 348 | 14.4k | Sec.setContentSize(SecSize); | 349 | 14.4k | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 14.4k | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 14.3k | auto EndOffset = FMgr.getOffset(); | 356 | 14.3k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 8 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 8 | NodeAttrFromAST<T>()); | 359 | 8 | } | 360 | 14.2k | return {}; | 361 | 14.3k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::CustomSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::CustomSection&)::$_0>(WasmEdge::AST::CustomSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::CustomSection&)::$_0&&) Line | Count | Source | 334 | 2.74M | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 2.74M | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 2.74M | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 2.74M | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 2.74M | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 2.74M | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 106 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 106 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 106 | } | 346 | | | 347 | | // Set the section size. | 348 | 2.74M | Sec.setContentSize(SecSize); | 349 | 2.74M | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 2.74M | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 2.74M | auto EndOffset = FMgr.getOffset(); | 356 | 2.74M | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 0 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 0 | NodeAttrFromAST<T>()); | 359 | 0 | } | 360 | 2.74M | return {}; | 361 | 2.74M | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::TypeSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TypeSection&)::$_0>(WasmEdge::AST::TypeSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TypeSection&)::$_0&&) Line | Count | Source | 334 | 10.7k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 10.7k | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 10.7k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 10.7k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 10.7k | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 10.7k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 48 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 48 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 48 | } | 346 | | | 347 | | // Set the section size. | 348 | 10.7k | Sec.setContentSize(SecSize); | 349 | 10.7k | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 10.7k | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 10.2k | auto EndOffset = FMgr.getOffset(); | 356 | 10.2k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 28 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 28 | NodeAttrFromAST<T>()); | 359 | 28 | } | 360 | 10.1k | return {}; | 361 | 10.2k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::ImportSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ImportSection&)::$_0>(WasmEdge::AST::ImportSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ImportSection&)::$_0&&) Line | Count | Source | 334 | 4.23k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 4.23k | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 4.23k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 4.22k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 4.22k | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 4.22k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 32 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 32 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 32 | } | 346 | | | 347 | | // Set the section size. | 348 | 4.19k | Sec.setContentSize(SecSize); | 349 | 4.19k | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 4.19k | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 3.93k | auto EndOffset = FMgr.getOffset(); | 356 | 3.93k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 43 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 43 | NodeAttrFromAST<T>()); | 359 | 43 | } | 360 | 3.89k | return {}; | 361 | 3.93k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::FunctionSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::FunctionSection&)::$_0>(WasmEdge::AST::FunctionSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::FunctionSection&)::$_0&&) Line | Count | Source | 334 | 7.24k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 7.24k | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 7.24k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 7.23k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 7.23k | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 7.23k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 40 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 40 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 40 | } | 346 | | | 347 | | // Set the section size. | 348 | 7.19k | Sec.setContentSize(SecSize); | 349 | 7.19k | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 7.19k | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 7.09k | auto EndOffset = FMgr.getOffset(); | 356 | 7.09k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 44 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 44 | NodeAttrFromAST<T>()); | 359 | 44 | } | 360 | 7.05k | return {}; | 361 | 7.09k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::TableSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TableSection&)::$_0>(WasmEdge::AST::TableSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TableSection&)::$_0&&) Line | Count | Source | 334 | 3.21k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 3.21k | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 3.21k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 3.21k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 3.21k | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 3.21k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 45 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 45 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 45 | } | 346 | | | 347 | | // Set the section size. | 348 | 3.16k | Sec.setContentSize(SecSize); | 349 | 3.16k | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 3.16k | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 2.90k | auto EndOffset = FMgr.getOffset(); | 356 | 2.90k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 46 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 46 | NodeAttrFromAST<T>()); | 359 | 46 | } | 360 | 2.85k | return {}; | 361 | 2.90k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::MemorySection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::MemorySection&)::$_0>(WasmEdge::AST::MemorySection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::MemorySection&)::$_0&&) Line | Count | Source | 334 | 2.37k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 2.37k | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 2.37k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 2.36k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 2.36k | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 2.36k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 40 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 40 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 40 | } | 346 | | | 347 | | // Set the section size. | 348 | 2.32k | Sec.setContentSize(SecSize); | 349 | 2.32k | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 2.32k | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 2.20k | auto EndOffset = FMgr.getOffset(); | 356 | 2.20k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 9 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 9 | NodeAttrFromAST<T>()); | 359 | 9 | } | 360 | 2.19k | return {}; | 361 | 2.20k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::GlobalSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::GlobalSection&)::$_0>(WasmEdge::AST::GlobalSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::GlobalSection&)::$_0&&) Line | Count | Source | 334 | 3.14k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 3.14k | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 3.14k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 3.13k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 3.13k | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 3.13k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 35 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 35 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 35 | } | 346 | | | 347 | | // Set the section size. | 348 | 3.10k | Sec.setContentSize(SecSize); | 349 | 3.10k | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 3.10k | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 1.93k | auto EndOffset = FMgr.getOffset(); | 356 | 1.93k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 61 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 61 | NodeAttrFromAST<T>()); | 359 | 61 | } | 360 | 1.86k | return {}; | 361 | 1.93k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::ExportSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ExportSection&)::$_0>(WasmEdge::AST::ExportSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ExportSection&)::$_0&&) Line | Count | Source | 334 | 1.96k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 1.96k | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 1.96k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 1.96k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 1.96k | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 1.96k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 25 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 25 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 25 | } | 346 | | | 347 | | // Set the section size. | 348 | 1.93k | Sec.setContentSize(SecSize); | 349 | 1.93k | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 1.93k | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 1.74k | auto EndOffset = FMgr.getOffset(); | 356 | 1.74k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 42 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 42 | NodeAttrFromAST<T>()); | 359 | 42 | } | 360 | 1.69k | return {}; | 361 | 1.74k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::StartSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::StartSection&)::$_0>(WasmEdge::AST::StartSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::StartSection&)::$_0&&) Line | Count | Source | 334 | 318 | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 318 | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 318 | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 312 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 312 | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 312 | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 48 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 48 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 48 | } | 346 | | | 347 | | // Set the section size. | 348 | 264 | Sec.setContentSize(SecSize); | 349 | 264 | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 264 | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 255 | auto EndOffset = FMgr.getOffset(); | 356 | 255 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 21 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 21 | NodeAttrFromAST<T>()); | 359 | 21 | } | 360 | 234 | return {}; | 361 | 255 | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::ElementSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ElementSection&)::$_0>(WasmEdge::AST::ElementSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ElementSection&)::$_0&&) Line | Count | Source | 334 | 6.15k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 6.15k | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 6.15k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 6.15k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 6.15k | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 6.15k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 42 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 42 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 42 | } | 346 | | | 347 | | // Set the section size. | 348 | 6.11k | Sec.setContentSize(SecSize); | 349 | 6.11k | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 6.11k | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 2.34k | auto EndOffset = FMgr.getOffset(); | 356 | 2.34k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 58 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 58 | NodeAttrFromAST<T>()); | 359 | 58 | } | 360 | 2.28k | return {}; | 361 | 2.34k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::CodeSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::CodeSection&)::$_0>(WasmEdge::AST::CodeSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::CodeSection&)::$_0&&) Line | Count | Source | 334 | 8.20k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 8.20k | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 8.20k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 8.20k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 8.20k | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 8.20k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 40 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 40 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 40 | } | 346 | | | 347 | | // Set the section size. | 348 | 8.16k | Sec.setContentSize(SecSize); | 349 | 8.16k | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 8.16k | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 6.14k | auto EndOffset = FMgr.getOffset(); | 356 | 6.14k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 14 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 14 | NodeAttrFromAST<T>()); | 359 | 14 | } | 360 | 6.12k | return {}; | 361 | 6.14k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::DataSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::DataSection&)::$_0>(WasmEdge::AST::DataSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::DataSection&)::$_0&&) Line | Count | Source | 334 | 5.34k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 5.34k | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 5.34k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 5.34k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 5.34k | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 5.34k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 26 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 26 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 26 | } | 346 | | | 347 | | // Set the section size. | 348 | 5.31k | Sec.setContentSize(SecSize); | 349 | 5.31k | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 5.31k | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 2.52k | auto EndOffset = FMgr.getOffset(); | 356 | 2.52k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 48 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 48 | NodeAttrFromAST<T>()); | 359 | 48 | } | 360 | 2.48k | return {}; | 361 | 2.52k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::DataCountSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::DataCountSection&)::$_0>(WasmEdge::AST::DataCountSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::DataCountSection&)::$_0&&) Line | Count | Source | 334 | 1.85k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 1.85k | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 1.85k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 1.85k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 1.85k | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 1.85k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 43 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 43 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 43 | } | 346 | | | 347 | | // Set the section size. | 348 | 1.81k | Sec.setContentSize(SecSize); | 349 | 1.81k | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 1.81k | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 1.80k | auto EndOffset = FMgr.getOffset(); | 356 | 1.80k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 21 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 21 | NodeAttrFromAST<T>()); | 359 | 21 | } | 360 | 1.78k | return {}; | 361 | 1.80k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::TagSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TagSection&)::$_0>(WasmEdge::AST::TagSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TagSection&)::$_0&&) Line | Count | Source | 334 | 429 | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 335 | 429 | Sec.setStartOffset(FMgr.getOffset()); | 336 | | // Load the section size first. | 337 | 429 | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 338 | 427 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 339 | 427 | })); | 340 | | | 341 | | // Check the remain file/buffer size. | 342 | 427 | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 343 | 43 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 344 | 43 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 345 | 43 | } | 346 | | | 347 | | // Set the section size. | 348 | 384 | Sec.setContentSize(SecSize); | 349 | 384 | auto StartOffset = FMgr.getOffset(); | 350 | | | 351 | | // Invoke the callback function. | 352 | 384 | EXPECTED_TRY(Func()); | 353 | | | 354 | | // Check the read size matches the section size. | 355 | 284 | auto EndOffset = FMgr.getOffset(); | 356 | 284 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 357 | 34 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 358 | 34 | NodeAttrFromAST<T>()); | 359 | 34 | } | 360 | 250 | return {}; | 361 | 284 | } |
|
362 | | |
363 | | template <typename T, typename ElemLoader> |
364 | 4.60M | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { |
365 | 4.60M | return loadVec<T>(Sec.getContent(), std::move(Func)); |
366 | 4.60M | } component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::Component::CoreInstanceSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreInstanceSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::CoreInstance&)#1}>(WasmEdge::AST::Component::CoreInstanceSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreInstanceSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::CoreInstance&)#1}&&)Line | Count | Source | 364 | 89.4k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 365 | 89.4k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 366 | 89.4k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::Component::CoreTypeSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreTypeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::CoreDefType&)#1}>(WasmEdge::AST::Component::CoreTypeSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreTypeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::CoreDefType&)#1}&&)Line | Count | Source | 364 | 180k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 365 | 180k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 366 | 180k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::Component::InstanceSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::InstanceSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Instance&)#1}>(WasmEdge::AST::Component::InstanceSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::InstanceSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Instance&)#1}&&)Line | Count | Source | 364 | 1.50M | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 365 | 1.50M | return loadVec<T>(Sec.getContent(), std::move(Func)); | 366 | 1.50M | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::Component::AliasSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::AliasSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Alias&)#1}>(WasmEdge::AST::Component::AliasSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::AliasSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Alias&)#1}&&)Line | Count | Source | 364 | 6.32k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 365 | 6.32k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 366 | 6.32k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::Component::TypeSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::TypeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::DefType&)#1}>(WasmEdge::AST::Component::TypeSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::TypeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::DefType&)#1}&&)Line | Count | Source | 364 | 2.62M | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 365 | 2.62M | return loadVec<T>(Sec.getContent(), std::move(Func)); | 366 | 2.62M | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::Component::CanonSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CanonSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Canonical&)#1}>(WasmEdge::AST::Component::CanonSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CanonSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Canonical&)#1}&&)Line | Count | Source | 364 | 56.5k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 365 | 56.5k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 366 | 56.5k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::Component::ImportSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ImportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Import&)#1}>(WasmEdge::AST::Component::ImportSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ImportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Import&)#1}&&)Line | Count | Source | 364 | 78.8k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 365 | 78.8k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 366 | 78.8k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::Component::ExportSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ExportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Export&)#1}>(WasmEdge::AST::Component::ExportSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ExportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Export&)#1}&&)Line | Count | Source | 364 | 6.53k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 365 | 6.53k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 366 | 6.53k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::Component::ValueSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ValueSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Value&)#1}>(WasmEdge::AST::Component::ValueSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ValueSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Value&)#1}&&)Line | Count | Source | 364 | 14.4k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 365 | 14.4k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 366 | 14.4k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::ImportSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ImportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ImportDesc&)#1}>(WasmEdge::AST::ImportSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ImportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ImportDesc&)#1}&&)Line | Count | Source | 364 | 4.19k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 365 | 4.19k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 366 | 4.19k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::FunctionSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::FunctionSection&)::$_0::operator()() const::{lambda(unsigned int&)#1}>(WasmEdge::AST::FunctionSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::FunctionSection&)::$_0::operator()() const::{lambda(unsigned int&)#1}&&)Line | Count | Source | 364 | 7.19k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 365 | 7.19k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 366 | 7.19k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::TableSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TableSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::TableSegment&)#1}>(WasmEdge::AST::TableSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TableSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::TableSegment&)#1}&&)Line | Count | Source | 364 | 3.16k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 365 | 3.16k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 366 | 3.16k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::MemorySection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::MemorySection&)::$_0::operator()() const::{lambda(WasmEdge::AST::MemoryType&)#1}>(WasmEdge::AST::MemorySection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::MemorySection&)::$_0::operator()() const::{lambda(WasmEdge::AST::MemoryType&)#1}&&)Line | Count | Source | 364 | 2.32k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 365 | 2.32k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 366 | 2.32k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::GlobalSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::GlobalSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::GlobalSegment&)#1}>(WasmEdge::AST::GlobalSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::GlobalSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::GlobalSegment&)#1}&&)Line | Count | Source | 364 | 3.10k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 365 | 3.10k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 366 | 3.10k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::ExportSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ExportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ExportDesc&)#1}>(WasmEdge::AST::ExportSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ExportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ExportDesc&)#1}&&)Line | Count | Source | 364 | 1.93k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 365 | 1.93k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 366 | 1.93k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::ElementSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ElementSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ElementSegment&)#1}>(WasmEdge::AST::ElementSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::ElementSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::ElementSegment&)#1}&&)Line | Count | Source | 364 | 6.11k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 365 | 6.11k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 366 | 6.11k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::CodeSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::CodeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::CodeSegment&)#1}>(WasmEdge::AST::CodeSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::CodeSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::CodeSegment&)#1}&&)Line | Count | Source | 364 | 8.16k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 365 | 8.16k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 366 | 8.16k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::DataSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::DataSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::DataSegment&)#1}>(WasmEdge::AST::DataSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::DataSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::DataSegment&)#1}&&)Line | Count | Source | 364 | 5.31k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 365 | 5.31k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 366 | 5.31k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::TagSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TagSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::TagType&)#1}>(WasmEdge::AST::TagSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::TagSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::TagType&)#1}&&)Line | Count | Source | 364 | 384 | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 365 | 384 | return loadVec<T>(Sec.getContent(), std::move(Func)); | 366 | 384 | } |
|
367 | | /// @} |
368 | | |
369 | | /// \name Helper function to set the function type for tag |
370 | | /// @{ |
371 | | void setTagFunctionType(AST::TagSection &TagSec, |
372 | | AST::ImportSection &ImportSec, |
373 | | AST::TypeSection &TypeSec); |
374 | | /// @} |
375 | | |
376 | | /// \name Load AST nodes functions |
377 | | /// @{ |
378 | | Expect<void> loadSection(AST::CustomSection &Sec); |
379 | | Expect<void> loadSection(AST::TypeSection &Sec); |
380 | | Expect<void> loadSection(AST::ImportSection &Sec); |
381 | | Expect<void> loadSection(AST::FunctionSection &Sec); |
382 | | Expect<void> loadSection(AST::TableSection &Sec); |
383 | | Expect<void> loadSection(AST::MemorySection &Sec); |
384 | | Expect<void> loadSection(AST::GlobalSection &Sec); |
385 | | Expect<void> loadSection(AST::ExportSection &Sec); |
386 | | Expect<void> loadSection(AST::StartSection &Sec); |
387 | | Expect<void> loadSection(AST::ElementSection &Sec); |
388 | | Expect<void> loadSection(AST::CodeSection &Sec); |
389 | | Expect<void> loadSection(AST::DataSection &Sec); |
390 | | Expect<void> loadSection(AST::DataCountSection &Sec); |
391 | | Expect<void> loadSection(AST::TagSection &Sec); |
392 | | static Expect<void> loadSection(FileMgr &VecMgr, AST::AOTSection &Sec); |
393 | | Expect<void> loadSegment(AST::TableSegment &TabSeg); |
394 | | Expect<void> loadSegment(AST::GlobalSegment &GlobSeg); |
395 | | Expect<void> loadSegment(AST::ElementSegment &ElemSeg); |
396 | | Expect<void> loadSegment(AST::CodeSegment &CodeSeg); |
397 | | Expect<void> loadSegment(AST::DataSegment &DataSeg); |
398 | | Expect<void> loadDesc(AST::ImportDesc &ImpDesc); |
399 | | Expect<void> loadDesc(AST::ExportDesc &ExpDesc); |
400 | | Expect<ValType> loadHeapType(TypeCode TC, ASTNodeAttr From); |
401 | | Expect<ValType> loadRefType(ASTNodeAttr From); |
402 | | Expect<ValType> loadValType(ASTNodeAttr From, bool IsStorageType = false); |
403 | | Expect<ValMut> loadMutability(ASTNodeAttr From); |
404 | | Expect<void> loadFieldType(AST::FieldType &FType); |
405 | | Expect<void> loadCompositeType(AST::CompositeType &CType); |
406 | | Expect<void> loadLimit(AST::Limit &Lim); |
407 | | Expect<void> loadType(AST::SubType &SType); |
408 | | Expect<void> loadType(AST::FunctionType &FuncType); |
409 | | Expect<void> loadType(AST::MemoryType &MemType); |
410 | | Expect<void> loadType(AST::TableType &TabType); |
411 | | Expect<void> loadType(AST::GlobalType &GlobType); |
412 | | Expect<void> loadType(AST::TagType &TgType); |
413 | | Expect<void> loadExpression(AST::Expression &Expr, |
414 | | std::optional<uint64_t> SizeBound = std::nullopt); |
415 | | Expect<OpCode> loadOpCode(); |
416 | | Expect<AST::InstrVec> loadInstrSeq(std::optional<uint64_t> SizeBound); |
417 | | Expect<void> loadInstruction(AST::Instruction &Instr); |
418 | | /// @} |
419 | | |
420 | | /// \name Load AST nodes functions for component model |
421 | | /// @{ |
422 | | // Sections |
423 | | Expect<void> loadSection(AST::Component::CoreModuleSection &Sec); |
424 | | Expect<void> loadSection(AST::Component::CoreInstanceSection &Sec); |
425 | | Expect<void> loadSection(AST::Component::CoreTypeSection &Sec); |
426 | | Expect<void> loadSection(AST::Component::ComponentSection &Sec); |
427 | | Expect<void> loadSection(AST::Component::InstanceSection &Sec); |
428 | | Expect<void> loadSection(AST::Component::AliasSection &Sec); |
429 | | Expect<void> loadSection(AST::Component::TypeSection &Sec); |
430 | | Expect<void> loadSection(AST::Component::CanonSection &Sec); |
431 | | Expect<void> loadSection(AST::Component::StartSection &Sec); |
432 | | Expect<void> loadSection(AST::Component::ImportSection &Sec); |
433 | | Expect<void> loadSection(AST::Component::ExportSection &Sec); |
434 | | Expect<void> loadSection(AST::Component::ValueSection &Sec); |
435 | | // core:instance and instance |
436 | | Expect<void> loadInstance(AST::Component::CoreInstance &Instance); |
437 | | Expect<void> loadInstance(AST::Component::Instance &Instance); |
438 | | // core:sort and sort |
439 | | Expect<void> loadCoreSort(AST::Component::Sort &Sort); |
440 | | Expect<void> loadSort(AST::Component::Sort &Sort); |
441 | | Expect<void> loadSortIndex(AST::Component::SortIndex &SortIdx, |
442 | | const bool IsCore = false); |
443 | | // core:alias and alias |
444 | | Expect<void> loadAlias(AST::Component::CoreAlias &Alias); |
445 | | Expect<void> loadAlias(AST::Component::Alias &Alias); |
446 | | // core:deftype and deftype |
447 | | Expect<void> loadType(AST::Component::CoreDefType &Ty); |
448 | | Expect<void> loadType(AST::Component::DefType &Ty); |
449 | | Expect<void> loadType(AST::Component::DefValType &Ty, uint8_t Code); |
450 | | Expect<void> loadType(AST::Component::FuncType &Ty); |
451 | | Expect<void> loadType(AST::Component::ComponentType &Ty); |
452 | | Expect<void> loadType(AST::Component::InstanceType &Ty); |
453 | | Expect<void> loadType(AST::Component::ResourceType &Ty); |
454 | | // start |
455 | | Expect<void> loadStart(AST::Component::Start &S); |
456 | | // canonical |
457 | | Expect<void> loadCanonical(AST::Component::Canonical &C); |
458 | | Expect<void> loadCanonicalOption(AST::Component::CanonOpt &Opt); |
459 | | // import |
460 | | Expect<void> loadImport(AST::Component::Import &Im); |
461 | | // export |
462 | | Expect<void> loadExport(AST::Component::Export &Ex); |
463 | | // value |
464 | | Expect<void> loadValue(AST::Component::Value &V); |
465 | | // descs |
466 | | Expect<void> loadDesc(AST::Component::CoreImportDesc &Desc); |
467 | | Expect<void> loadDesc(AST::Component::ExternDesc &Desc); |
468 | | // decls |
469 | | Expect<void> loadDecl(AST::Component::CoreImportDecl &Decl); |
470 | | Expect<void> loadDecl(AST::Component::CoreExportDecl &Decl); |
471 | | Expect<void> loadDecl(AST::Component::CoreModuleDecl &Decl); |
472 | | Expect<void> loadDecl(AST::Component::ImportDecl &Decl); |
473 | | Expect<void> loadDecl(AST::Component::ExportDecl &Decl); |
474 | | Expect<void> loadDecl(AST::Component::InstanceDecl &Decl); |
475 | | Expect<void> loadDecl(AST::Component::ComponentDecl &Decl); |
476 | | // types |
477 | | Expect<void> loadType(AST::Component::RecordTy &RecTy); |
478 | | Expect<void> loadType(AST::Component::VariantTy &Ty); |
479 | | Expect<void> loadType(AST::Component::ListTy &Ty, bool IsFixedLen = false); |
480 | | Expect<void> loadType(AST::Component::TupleTy &Ty); |
481 | | Expect<void> loadType(AST::Component::FlagsTy &Ty); |
482 | | Expect<void> loadType(AST::Component::EnumTy &Ty); |
483 | | Expect<void> loadType(AST::Component::OptionTy &Ty); |
484 | | Expect<void> loadType(AST::Component::ResultTy &Ty); |
485 | | Expect<void> loadType(AST::Component::OwnTy &Ty); |
486 | | Expect<void> loadType(AST::Component::BorrowTy &Ty); |
487 | | Expect<void> loadType(AST::Component::StreamTy &Ty); |
488 | | Expect<void> loadType(AST::Component::FutureTy &Ty); |
489 | | Expect<void> loadType(AST::Component::MapTy &Ty); |
490 | | // helpers |
491 | | Expect<void> loadNameAttributes(std::string &Name, |
492 | | std::vector<std::string> &Implements, |
493 | | std::vector<std::string> &ExternalIds, |
494 | | std::vector<std::string> &VersionSuffixes); |
495 | | Expect<void> loadType(ComponentValType &Ty); |
496 | | Expect<void> loadType(AST::Component::LabelValType &Ty); |
497 | | template <typename ASTType, typename T> |
498 | 1.19M | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { |
499 | 1.19M | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { |
500 | 1.19M | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); |
501 | 1.19M | })); |
502 | 1.19M | switch (Flag) { |
503 | 589k | case 0x01: { |
504 | 589k | T V; |
505 | 589k | EXPECTED_TRY(F(V).map_error([](auto E) { |
506 | 589k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); |
507 | 589k | return E; |
508 | 589k | })); |
509 | 589k | return std::optional<T>(V); |
510 | 589k | } |
511 | 609k | case 0x00: |
512 | 609k | return std::nullopt; |
513 | 30 | default: |
514 | 30 | return logLoadError(ErrCode::Value::MalformedDefType, |
515 | 30 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); |
516 | 1.19M | } |
517 | 1.19M | } cxx20::expected<std::__1::optional<unsigned int>, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadOption<WasmEdge::AST::Component::ResourceType, unsigned int>(std::__1::function<cxx20::expected<void, WasmEdge::ErrCode> (unsigned int&)>) Line | Count | Source | 498 | 838 | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { | 499 | 838 | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { | 500 | 834 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 501 | 834 | })); | 502 | 834 | switch (Flag) { | 503 | 160 | case 0x01: { | 504 | 160 | T V; | 505 | 160 | EXPECTED_TRY(F(V).map_error([](auto E) { | 506 | 159 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 507 | 159 | return E; | 508 | 159 | })); | 509 | 159 | return std::optional<T>(V); | 510 | 160 | } | 511 | 671 | case 0x00: | 512 | 671 | return std::nullopt; | 513 | 3 | default: | 514 | 3 | return logLoadError(ErrCode::Value::MalformedDefType, | 515 | 3 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 516 | 834 | } | 517 | 834 | } |
cxx20::expected<std::__1::optional<WasmEdge::ComponentValType>, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadOption<WasmEdge::AST::Component::VariantTy, WasmEdge::ComponentValType>(std::__1::function<cxx20::expected<void, WasmEdge::ErrCode> (WasmEdge::ComponentValType&)>) Line | Count | Source | 498 | 4.85k | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { | 499 | 4.85k | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { | 500 | 4.84k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 501 | 4.84k | })); | 502 | 4.84k | switch (Flag) { | 503 | 3.96k | case 0x01: { | 504 | 3.96k | T V; | 505 | 3.96k | EXPECTED_TRY(F(V).map_error([](auto E) { | 506 | 3.96k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 507 | 3.96k | return E; | 508 | 3.96k | })); | 509 | 3.96k | return std::optional<T>(V); | 510 | 3.96k | } | 511 | 866 | case 0x00: | 512 | 866 | return std::nullopt; | 513 | 14 | default: | 514 | 14 | return logLoadError(ErrCode::Value::MalformedDefType, | 515 | 14 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 516 | 4.84k | } | 517 | 4.84k | } |
cxx20::expected<std::__1::optional<WasmEdge::ComponentValType>, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadOption<WasmEdge::AST::Component::ResultTy, WasmEdge::ComponentValType>(std::__1::function<cxx20::expected<void, WasmEdge::ErrCode> (WasmEdge::ComponentValType&)>) Line | Count | Source | 498 | 1.16M | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { | 499 | 1.16M | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { | 500 | 1.16M | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 501 | 1.16M | })); | 502 | 1.16M | switch (Flag) { | 503 | 584k | case 0x01: { | 504 | 584k | T V; | 505 | 584k | EXPECTED_TRY(F(V).map_error([](auto E) { | 506 | 584k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 507 | 584k | return E; | 508 | 584k | })); | 509 | 584k | return std::optional<T>(V); | 510 | 584k | } | 511 | 584k | case 0x00: | 512 | 584k | return std::nullopt; | 513 | 4 | default: | 514 | 4 | return logLoadError(ErrCode::Value::MalformedDefType, | 515 | 4 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 516 | 1.16M | } | 517 | 1.16M | } |
cxx20::expected<std::__1::optional<WasmEdge::ComponentValType>, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadOption<WasmEdge::AST::Component::StreamTy, WasmEdge::ComponentValType>(std::__1::function<cxx20::expected<void, WasmEdge::ErrCode> (WasmEdge::ComponentValType&)>) Line | Count | Source | 498 | 3.19k | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { | 499 | 3.19k | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { | 500 | 3.19k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 501 | 3.19k | })); | 502 | 3.19k | switch (Flag) { | 503 | 789 | case 0x01: { | 504 | 789 | T V; | 505 | 789 | EXPECTED_TRY(F(V).map_error([](auto E) { | 506 | 787 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 507 | 787 | return E; | 508 | 787 | })); | 509 | 787 | return std::optional<T>(V); | 510 | 789 | } | 511 | 2.40k | case 0x00: | 512 | 2.40k | return std::nullopt; | 513 | 1 | default: | 514 | 1 | return logLoadError(ErrCode::Value::MalformedDefType, | 515 | 1 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 516 | 3.19k | } | 517 | 3.19k | } |
cxx20::expected<std::__1::optional<WasmEdge::ComponentValType>, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadOption<WasmEdge::AST::Component::FutureTy, WasmEdge::ComponentValType>(std::__1::function<cxx20::expected<void, WasmEdge::ErrCode> (WasmEdge::ComponentValType&)>) Line | Count | Source | 498 | 19.0k | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { | 499 | 19.0k | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { | 500 | 19.0k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 501 | 19.0k | })); | 502 | 19.0k | switch (Flag) { | 503 | 231 | case 0x01: { | 504 | 231 | T V; | 505 | 231 | EXPECTED_TRY(F(V).map_error([](auto E) { | 506 | 224 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 507 | 224 | return E; | 508 | 224 | })); | 509 | 224 | return std::optional<T>(V); | 510 | 231 | } | 511 | 18.8k | case 0x00: | 512 | 18.8k | return std::nullopt; | 513 | 5 | default: | 514 | 5 | return logLoadError(ErrCode::Value::MalformedDefType, | 515 | 5 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 516 | 19.0k | } | 517 | 19.0k | } |
cxx20::expected<std::__1::optional<WasmEdge::AST::Component::ExternDesc>, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadOption<WasmEdge::AST::Component::Export, WasmEdge::AST::Component::ExternDesc>(std::__1::function<cxx20::expected<void, WasmEdge::ErrCode> (WasmEdge::AST::Component::ExternDesc&)>) Line | Count | Source | 498 | 3.00k | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { | 499 | 3.00k | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { | 500 | 3.00k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 501 | 3.00k | })); | 502 | 3.00k | switch (Flag) { | 503 | 417 | case 0x01: { | 504 | 417 | T V; | 505 | 417 | EXPECTED_TRY(F(V).map_error([](auto E) { | 506 | 412 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 507 | 412 | return E; | 508 | 412 | })); | 509 | 412 | return std::optional<T>(V); | 510 | 417 | } | 511 | 2.58k | case 0x00: | 512 | 2.58k | return std::nullopt; | 513 | 3 | default: | 514 | 3 | return logLoadError(ErrCode::Value::MalformedDefType, | 515 | 3 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 516 | 3.00k | } | 517 | 3.00k | } |
|
518 | | /// @} |
519 | | |
520 | | /// \name Loader members |
521 | | /// @{ |
522 | | const Configure Conf; |
523 | | const Serializer Ser; |
524 | | FileMgr FMgr; |
525 | | const Executable::IntrinsicsTable *IntrinsicsTable; |
526 | | std::recursive_mutex Mutex; |
527 | | bool HasDataSection; |
528 | | |
529 | | /// Maximum component model loader recursion depth; deeper input is rejected |
530 | | /// to avoid native stack overflow. |
531 | | static inline constexpr uint32_t MaxComponentNestLevel = 256; |
532 | | /// Current component model loader recursion depth. |
533 | | uint32_t ComponentNestLevel = 0; |
534 | | |
535 | | /// Scoped increment/decrement of ComponentNestLevel. |
536 | | struct ComponentNestGuard { |
537 | | uint32_t &Level; |
538 | 2.77M | explicit ComponentNestGuard(uint32_t &L) noexcept : Level(L) { ++Level; } |
539 | 2.77M | ~ComponentNestGuard() noexcept { --Level; } |
540 | | ComponentNestGuard(const ComponentNestGuard &) = delete; |
541 | | ComponentNestGuard &operator=(const ComponentNestGuard &) = delete; |
542 | | }; |
543 | | |
544 | | /// Input data type enumeration. |
545 | | enum class InputType : uint8_t { WASM, UniversalWASM, SharedLibrary }; |
546 | | InputType WASMType = InputType::WASM; |
547 | | /// @} |
548 | | |
549 | | // Metadata |
550 | | std::vector<Byte> ModuleVersion = {0x01, 0x00, 0x00, 0x00}; |
551 | | // spec says 0x0a, but it's actually 0x0d, where cargo component compiled out |
552 | | std::vector<Byte> ComponentVersion = {0x0d, 0x00, 0x01, 0x00}; |
553 | | }; |
554 | | |
555 | | } // namespace Loader |
556 | | } // namespace WasmEdge |