/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 | 153 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::CustomSection>() noexcept { |
38 | 153 | return ASTNodeAttr::Sec_Custom; |
39 | 153 | } 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_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 | 153 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::CustomSection>() noexcept { | 38 | 153 | return ASTNodeAttr::Sec_Custom; | 39 | 153 | } |
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: 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 | 80 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TypeSection>() noexcept { |
41 | 80 | return ASTNodeAttr::Sec_Type; |
42 | 80 | } 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_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 | 80 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TypeSection>() noexcept { | 41 | 80 | return ASTNodeAttr::Sec_Type; | 42 | 80 | } |
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: 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 | 406 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ImportSection>() noexcept { |
44 | 406 | return ASTNodeAttr::Sec_Import; |
45 | 406 | } 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_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 | 406 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ImportSection>() noexcept { | 44 | 406 | return ASTNodeAttr::Sec_Import; | 45 | 406 | } |
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: 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 | 185 | inline ASTNodeAttr NodeAttrFromAST<AST::FunctionSection>() noexcept { |
48 | 185 | return ASTNodeAttr::Sec_Function; |
49 | 185 | } 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_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 | 185 | inline ASTNodeAttr NodeAttrFromAST<AST::FunctionSection>() noexcept { | 48 | 185 | return ASTNodeAttr::Sec_Function; | 49 | 185 | } |
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: 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 | 430 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TableSection>() noexcept { |
51 | 430 | return ASTNodeAttr::Sec_Table; |
52 | 430 | } 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_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 | 430 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TableSection>() noexcept { | 51 | 430 | return ASTNodeAttr::Sec_Table; | 52 | 430 | } |
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: 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 | 217 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::MemorySection>() noexcept { |
54 | 217 | return ASTNodeAttr::Sec_Memory; |
55 | 217 | } 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_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 | 217 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::MemorySection>() noexcept { | 54 | 217 | return ASTNodeAttr::Sec_Memory; | 55 | 217 | } |
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: 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.66k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::GlobalSection>() noexcept { |
57 | 1.66k | return ASTNodeAttr::Sec_Global; |
58 | 1.66k | } 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_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.66k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::GlobalSection>() noexcept { | 57 | 1.66k | return ASTNodeAttr::Sec_Global; | 58 | 1.66k | } |
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: 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 | 266 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ExportSection>() noexcept { |
60 | 266 | return ASTNodeAttr::Sec_Export; |
61 | 266 | } 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_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 | 266 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ExportSection>() noexcept { | 60 | 266 | return ASTNodeAttr::Sec_Export; | 61 | 266 | } |
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: 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 | 80 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::StartSection>() noexcept { |
63 | 80 | return ASTNodeAttr::Sec_Start; |
64 | 80 | } 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_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 | 80 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::StartSection>() noexcept { | 63 | 80 | return ASTNodeAttr::Sec_Start; | 64 | 80 | } |
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: 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.68k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ElementSection>() noexcept { |
66 | 3.68k | return ASTNodeAttr::Sec_Element; |
67 | 3.68k | } 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_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.68k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ElementSection>() noexcept { | 66 | 3.68k | return ASTNodeAttr::Sec_Element; | 67 | 3.68k | } |
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: 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.36k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::CodeSection>() noexcept { |
69 | 2.36k | return ASTNodeAttr::Sec_Code; |
70 | 2.36k | } 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_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.36k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::CodeSection>() noexcept { | 69 | 2.36k | return ASTNodeAttr::Sec_Code; | 70 | 2.36k | } |
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: 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.60k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::DataSection>() noexcept { |
72 | 2.60k | return ASTNodeAttr::Sec_Data; |
73 | 2.60k | } 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_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.60k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::DataSection>() noexcept { | 72 | 2.60k | return ASTNodeAttr::Sec_Data; | 73 | 2.60k | } |
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: 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 | 72 | inline ASTNodeAttr NodeAttrFromAST<AST::DataCountSection>() noexcept { |
76 | 72 | return ASTNodeAttr::Sec_DataCount; |
77 | 72 | } 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_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 | 72 | inline ASTNodeAttr NodeAttrFromAST<AST::DataCountSection>() noexcept { | 76 | 72 | return ASTNodeAttr::Sec_DataCount; | 77 | 72 | } |
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: 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 | 171 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TagSection>() noexcept { |
79 | 171 | return ASTNodeAttr::Sec_Tag; |
80 | 171 | } 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_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 | 171 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TagSection>() noexcept { | 79 | 171 | return ASTNodeAttr::Sec_Tag; | 80 | 171 | } |
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: 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 | 180 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::SubType>() noexcept { |
82 | 180 | return ASTNodeAttr::Type_Rec; |
83 | 180 | } 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_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 | 180 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::SubType>() noexcept { | 82 | 180 | return ASTNodeAttr::Type_Rec; | 83 | 180 | } |
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: 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 | 174 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::FunctionType>() noexcept { |
85 | 174 | return ASTNodeAttr::Type_Function; |
86 | 174 | } 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_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 | 174 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::FunctionType>() noexcept { | 85 | 174 | return ASTNodeAttr::Type_Function; | 86 | 174 | } |
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: 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 | 213 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ElementSegment>() noexcept { |
88 | 213 | return ASTNodeAttr::Seg_Element; |
89 | 213 | } 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_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 | 213 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ElementSegment>() noexcept { | 88 | 213 | return ASTNodeAttr::Seg_Element; | 89 | 213 | } |
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: 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 | 69 | NodeAttrFromAST<AST::Component::CoreModuleSection>() noexcept { |
94 | 69 | return ASTNodeAttr::Comp_Sec_CoreMod; |
95 | 69 | } 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 | 69 | NodeAttrFromAST<AST::Component::CoreModuleSection>() noexcept { | 94 | 69 | return ASTNodeAttr::Comp_Sec_CoreMod; | 95 | 69 | } |
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_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: 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 | 382 | NodeAttrFromAST<AST::Component::CoreInstanceSection>() noexcept { |
99 | 382 | return ASTNodeAttr::Comp_Sec_CoreInstance; |
100 | 382 | } 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 | 382 | NodeAttrFromAST<AST::Component::CoreInstanceSection>() noexcept { | 99 | 382 | return ASTNodeAttr::Comp_Sec_CoreInstance; | 100 | 382 | } |
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_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: 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 | 577 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreTypeSection>() noexcept { |
103 | 577 | return ASTNodeAttr::Comp_Sec_CoreType; |
104 | 577 | } 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 | 577 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreTypeSection>() noexcept { | 103 | 577 | return ASTNodeAttr::Comp_Sec_CoreType; | 104 | 577 | } |
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_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: 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 | 60 | NodeAttrFromAST<AST::Component::ComponentSection>() noexcept { |
108 | 60 | return ASTNodeAttr::Comp_Sec_Component; |
109 | 60 | } 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 | 60 | NodeAttrFromAST<AST::Component::ComponentSection>() noexcept { | 108 | 60 | return ASTNodeAttr::Comp_Sec_Component; | 109 | 60 | } |
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_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: 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 | 274 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::InstanceSection>() noexcept { |
112 | 274 | return ASTNodeAttr::Comp_Sec_Instance; |
113 | 274 | } 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 | 274 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::InstanceSection>() noexcept { | 112 | 274 | return ASTNodeAttr::Comp_Sec_Instance; | 113 | 274 | } |
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_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: 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 | 158 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::AliasSection>() noexcept { |
116 | 158 | return ASTNodeAttr::Comp_Sec_Alias; |
117 | 158 | } 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 | 158 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::AliasSection>() noexcept { | 116 | 158 | return ASTNodeAttr::Comp_Sec_Alias; | 117 | 158 | } |
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_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: 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.36k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::TypeSection>() noexcept { |
120 | 1.36k | return ASTNodeAttr::Comp_Sec_Type; |
121 | 1.36k | } 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.36k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::TypeSection>() noexcept { | 120 | 1.36k | return ASTNodeAttr::Comp_Sec_Type; | 121 | 1.36k | } |
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_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: 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 | 631 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CanonSection>() noexcept { |
124 | 631 | return ASTNodeAttr::Comp_Sec_Canon; |
125 | 631 | } 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 | 631 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CanonSection>() noexcept { | 124 | 631 | return ASTNodeAttr::Comp_Sec_Canon; | 125 | 631 | } |
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_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: 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_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: 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 | 154 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ImportSection>() noexcept { |
132 | 154 | return ASTNodeAttr::Comp_Sec_Import; |
133 | 154 | } 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 | 154 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ImportSection>() noexcept { | 132 | 154 | return ASTNodeAttr::Comp_Sec_Import; | 133 | 154 | } |
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_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: 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 | 135 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ExportSection>() noexcept { |
136 | 135 | return ASTNodeAttr::Comp_Sec_Export; |
137 | 135 | } 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 | 135 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ExportSection>() noexcept { | 136 | 135 | return ASTNodeAttr::Comp_Sec_Export; | 137 | 135 | } |
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_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: 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 | 240 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreInstance>() noexcept { |
140 | 240 | return ASTNodeAttr::Comp_CoreInstance; |
141 | 240 | } 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 | 139 | 240 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreInstance>() noexcept { | 140 | 240 | return ASTNodeAttr::Comp_CoreInstance; | 141 | 240 | } |
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_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: 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>() |
142 | | template <> |
143 | 178 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Instance>() noexcept { |
144 | 178 | return ASTNodeAttr::Comp_Instance; |
145 | 178 | } 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 | 143 | 178 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Instance>() noexcept { | 144 | 178 | return ASTNodeAttr::Comp_Instance; | 145 | 178 | } |
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_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: 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>() |
146 | | template <> |
147 | 1.23k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreDefType>() noexcept { |
148 | 1.23k | return ASTNodeAttr::Comp_CoreDefType; |
149 | 1.23k | } 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 | 147 | 1.23k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreDefType>() noexcept { | 148 | 1.23k | return ASTNodeAttr::Comp_CoreDefType; | 149 | 1.23k | } |
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_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: 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>() |
150 | | template <> |
151 | 0 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::DefType>() noexcept { |
152 | 0 | return ASTNodeAttr::Comp_DefType; |
153 | 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_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: 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>() |
154 | | template <> |
155 | 81 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FuncType>() noexcept { |
156 | 81 | return ASTNodeAttr::Comp_FuncType; |
157 | 81 | } 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 | 155 | 81 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FuncType>() noexcept { | 156 | 81 | return ASTNodeAttr::Comp_FuncType; | 157 | 81 | } |
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_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: 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>() |
158 | | template <> |
159 | 5.78k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ComponentType>() noexcept { |
160 | 5.78k | return ASTNodeAttr::Comp_ComponentType; |
161 | 5.78k | } 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 | 159 | 5.78k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ComponentType>() noexcept { | 160 | 5.78k | return ASTNodeAttr::Comp_ComponentType; | 161 | 5.78k | } |
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_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: 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>() |
162 | | template <> |
163 | 1.26k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::InstanceType>() noexcept { |
164 | 1.26k | return ASTNodeAttr::Comp_InstanceType; |
165 | 1.26k | } 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 | 163 | 1.26k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::InstanceType>() noexcept { | 164 | 1.26k | return ASTNodeAttr::Comp_InstanceType; | 165 | 1.26k | } |
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_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: 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>() |
166 | | template <> |
167 | 9 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ResourceType>() noexcept { |
168 | 9 | return ASTNodeAttr::Comp_ResourceType; |
169 | 9 | } 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 | 167 | 9 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ResourceType>() noexcept { | 168 | 9 | return ASTNodeAttr::Comp_ResourceType; | 169 | 9 | } |
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_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: 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>() |
170 | | template <> |
171 | 188 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Canonical>() noexcept { |
172 | 188 | return ASTNodeAttr::Comp_Canonical; |
173 | 188 | } 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 | 171 | 188 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Canonical>() noexcept { | 172 | 188 | return ASTNodeAttr::Comp_Canonical; | 173 | 188 | } |
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_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: 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>() |
174 | | template <> |
175 | 56 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Start>() noexcept { |
176 | 56 | return ASTNodeAttr::Comp_Start; |
177 | 56 | } 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 | 175 | 56 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Start>() noexcept { | 176 | 56 | return ASTNodeAttr::Comp_Start; | 177 | 56 | } |
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_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: 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>() |
178 | | template <> |
179 | 10 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Export>() noexcept { |
180 | 10 | return ASTNodeAttr::Comp_Export; |
181 | 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 | 179 | 10 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Export>() noexcept { | 180 | 10 | return ASTNodeAttr::Comp_Export; | 181 | 10 | } |
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: 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>() |
182 | | template <> |
183 | 73 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::RecordTy>() noexcept { |
184 | 73 | return ASTNodeAttr::Comp_Type_Record; |
185 | 73 | } 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 | 183 | 73 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::RecordTy>() noexcept { | 184 | 73 | return ASTNodeAttr::Comp_Type_Record; | 185 | 73 | } |
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_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: 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>() |
186 | | template <> |
187 | 158 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::VariantTy>() noexcept { |
188 | 158 | return ASTNodeAttr::Comp_Type_Variant; |
189 | 158 | } 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 | 187 | 158 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::VariantTy>() noexcept { | 188 | 158 | return ASTNodeAttr::Comp_Type_Variant; | 189 | 158 | } |
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_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: 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>() |
190 | | template <> |
191 | 105 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::TupleTy>() noexcept { |
192 | 105 | return ASTNodeAttr::Comp_Type_Tuple; |
193 | 105 | } 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 | 191 | 105 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::TupleTy>() noexcept { | 192 | 105 | return ASTNodeAttr::Comp_Type_Tuple; | 193 | 105 | } |
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_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: 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>() |
194 | | template <> |
195 | 68 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FlagsTy>() noexcept { |
196 | 68 | return ASTNodeAttr::Comp_Type_Flags; |
197 | 68 | } 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 | 195 | 68 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FlagsTy>() noexcept { | 196 | 68 | return ASTNodeAttr::Comp_Type_Flags; | 197 | 68 | } |
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_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: 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>() |
198 | | template <> |
199 | 106 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::EnumTy>() noexcept { |
200 | 106 | return ASTNodeAttr::Comp_Type_Enum; |
201 | 106 | } 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 | 199 | 106 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::EnumTy>() noexcept { | 200 | 106 | return ASTNodeAttr::Comp_Type_Enum; | 201 | 106 | } |
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_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: 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>() |
202 | | template <> |
203 | 22 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ResultTy>() noexcept { |
204 | 22 | return ASTNodeAttr::Comp_Type_Result; |
205 | 22 | } 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 | 203 | 22 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ResultTy>() noexcept { | 204 | 22 | return ASTNodeAttr::Comp_Type_Result; | 205 | 22 | } |
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_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: 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>() |
206 | | template <> |
207 | 9 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::StreamTy>() noexcept { |
208 | 9 | return ASTNodeAttr::Comp_Type_Stream; |
209 | 9 | } 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 | 207 | 9 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::StreamTy>() noexcept { | 208 | 9 | return ASTNodeAttr::Comp_Type_Stream; | 209 | 9 | } |
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_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: 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>() |
210 | | template <> |
211 | 21 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FutureTy>() noexcept { |
212 | 21 | return ASTNodeAttr::Comp_Type_Future; |
213 | 21 | } 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 | 211 | 21 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FutureTy>() noexcept { | 212 | 21 | return ASTNodeAttr::Comp_Type_Future; | 213 | 21 | } |
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_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: 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>() |
214 | | |
215 | | } // namespace |
216 | | |
217 | | /// Loader flow control class. |
218 | | class Loader { |
219 | | public: |
220 | | Loader(const Configure &Conf, |
221 | | const Executable::IntrinsicsTable *IT = nullptr) noexcept |
222 | 26.1k | : Conf(Conf), Ser(Conf), IntrinsicsTable(IT) {} |
223 | 26.1k | ~Loader() noexcept = default; |
224 | | |
225 | | /// Load data from file path. |
226 | | static Expect<std::vector<Byte>> |
227 | | loadFile(const std::filesystem::path &FilePath); |
228 | | |
229 | | /// Parse module or component from file path. |
230 | | Expect<std::variant<std::unique_ptr<AST::Component::Component>, |
231 | | std::unique_ptr<AST::Module>>> |
232 | | parseWasmUnit(const std::filesystem::path &FilePath); |
233 | | |
234 | | /// Parse module or component from byte code. |
235 | | Expect<std::variant<std::unique_ptr<AST::Component::Component>, |
236 | | std::unique_ptr<AST::Module>>> |
237 | | parseWasmUnit(Span<const uint8_t> Code); |
238 | | |
239 | | /// Parse module from file path. |
240 | | Expect<std::unique_ptr<AST::Module>> |
241 | | parseModule(const std::filesystem::path &FilePath); |
242 | | |
243 | | /// Parse module from byte code. |
244 | | Expect<std::unique_ptr<AST::Module>> parseModule(Span<const uint8_t> Code); |
245 | | |
246 | | /// Serialize module into byte code. |
247 | | Expect<std::vector<Byte>> serializeModule(const AST::Module &Mod); |
248 | | |
249 | | /// Reset status. |
250 | 0 | void reset() noexcept { FMgr.reset(); } |
251 | | |
252 | | /// Set up Symbol from an Executable. |
253 | | Expect<void> loadExecutable(AST::Module &Mod, |
254 | | std::shared_ptr<Executable> Library); |
255 | | |
256 | | private: |
257 | | /// \name Helper functions to print error log when loading AST nodes |
258 | | /// @{ |
259 | | inline Unexpected<ErrCode> logLoadError(ErrCode Code, uint64_t Off, |
260 | 17.3k | ASTNodeAttr Node) const noexcept { |
261 | 17.3k | spdlog::error(Code); |
262 | 17.3k | spdlog::error(ErrInfo::InfoLoading(Off)); |
263 | 17.3k | spdlog::error(ErrInfo::InfoAST(Node)); |
264 | 17.3k | return Unexpect(Code); |
265 | 17.3k | } |
266 | | inline Unexpected<ErrCode> logNeedProposal(ErrCode Code, Proposal Prop, |
267 | | uint64_t Off, |
268 | 194 | ASTNodeAttr Node) const noexcept { |
269 | 194 | spdlog::error(Code); |
270 | 194 | spdlog::error(ErrInfo::InfoProposal(Prop)); |
271 | 194 | spdlog::error(ErrInfo::InfoLoading(Off)); |
272 | 194 | spdlog::error(ErrInfo::InfoAST(Node)); |
273 | 194 | return Unexpect(Code); |
274 | 194 | } |
275 | | /// @} |
276 | | |
277 | | /// \name Load AST Module functions |
278 | | /// @{ |
279 | | // Load component or module unit. |
280 | | Expect<std::variant<std::unique_ptr<AST::Component::Component>, |
281 | | std::unique_ptr<AST::Module>>> |
282 | | loadUnit(); |
283 | | |
284 | | // Load magic header or preamble. |
285 | | Expect<std::pair<std::vector<Byte>, std::vector<Byte>>> loadPreamble(); |
286 | | |
287 | | // Load WASM module. |
288 | | Expect<void> loadModule(AST::Module &Mod, |
289 | | std::optional<uint64_t> Bound = std::nullopt); |
290 | | |
291 | | // Load WASM for AOT. |
292 | | Expect<void> loadUniversalWASM(AST::Module &Mod); |
293 | | Expect<void> loadModuleAOT(AST::AOTSection &AOTSection); |
294 | | |
295 | | // Load component. |
296 | | Expect<void> loadComponent(AST::Component::Component &Comp, |
297 | | std::optional<uint64_t> Bound = std::nullopt); |
298 | | /// @} |
299 | | |
300 | | /// \name Load AST section node helper functions |
301 | | /// @{ |
302 | 865k | Expect<uint32_t> loadVecCnt() { |
303 | | // Read the vector size. |
304 | 865k | EXPECTED_TRY(auto Cnt, FMgr.readU32()); |
305 | 865k | if (Cnt / 2 > FMgr.getRemainSize()) { |
306 | 1.50k | return Unexpect(ErrCode::Value::IntegerTooLong); |
307 | 1.50k | } |
308 | 864k | return Cnt; |
309 | 865k | } |
310 | | |
311 | | template <typename ASTType, typename T, typename ElemLoader> |
312 | 792k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { |
313 | | // Read the vector size. |
314 | 792k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { |
315 | 791k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); |
316 | 791k | })); |
317 | 791k | Vec.resize(VecCnt); |
318 | | |
319 | | // Sequently create the AST node T and read data. |
320 | 3.86M | for (uint32_t I = 0; I < VecCnt; ++I) { |
321 | 3.09M | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { |
322 | 3.09M | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); |
323 | 3.09M | return E; |
324 | 3.09M | })); |
325 | 3.09M | } |
326 | 767k | return {}; |
327 | 791k | } 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 | 312 | 4.31k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 4.31k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 4.30k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 4.30k | })); | 317 | 4.30k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 7.59k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 3.58k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 3.58k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 3.58k | return E; | 324 | 3.58k | })); | 325 | 3.58k | } | 326 | 4.01k | return {}; | 327 | 4.30k | } |
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 | 312 | 61.9k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 61.9k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 61.9k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 61.9k | })); | 317 | 61.9k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 111k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 50.0k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 50.0k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 50.0k | return E; | 324 | 50.0k | })); | 325 | 50.0k | } | 326 | 61.5k | return {}; | 327 | 61.9k | } |
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 | 312 | 14.0k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 14.0k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 14.0k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 14.0k | })); | 317 | 14.0k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 26.0k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 12.2k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 12.2k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 12.2k | return E; | 324 | 12.2k | })); | 325 | 12.2k | } | 326 | 13.7k | return {}; | 327 | 14.0k | } |
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 | 312 | 1.96k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.96k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.94k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.94k | })); | 317 | 1.94k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 3.75k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 1.92k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 1.92k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 1.92k | return E; | 324 | 1.92k | })); | 325 | 1.92k | } | 326 | 1.83k | return {}; | 327 | 1.94k | } |
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 | 312 | 281k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 281k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 281k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 281k | })); | 317 | 281k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 582k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 301k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 301k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 301k | return E; | 324 | 301k | })); | 325 | 301k | } | 326 | 280k | return {}; | 327 | 281k | } |
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 | 312 | 12.4k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 12.4k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 12.4k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 12.4k | })); | 317 | 12.4k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 34.1k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 22.2k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 22.2k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 22.2k | return E; | 324 | 22.2k | })); | 325 | 22.2k | } | 326 | 11.9k | return {}; | 327 | 12.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 | 312 | 12.1k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 12.1k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 12.1k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 12.1k | })); | 317 | 12.1k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 18.9k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 6.91k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 6.91k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 6.91k | return E; | 324 | 6.91k | })); | 325 | 6.91k | } | 326 | 12.0k | return {}; | 327 | 12.1k | } |
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 | 312 | 5.22k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 5.22k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 5.21k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 5.21k | })); | 317 | 5.21k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 7.39k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 2.25k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 2.25k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 2.25k | return E; | 324 | 2.25k | })); | 325 | 2.25k | } | 326 | 5.13k | return {}; | 327 | 5.21k | } |
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::loadCoreInstance(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::loadCoreInstance(WasmEdge::AST::Component::CoreInstance&)::$_0&) Line | Count | Source | 312 | 1.00k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.00k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 969 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 969 | })); | 317 | 969 | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 1.36k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 463 | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 463 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 463 | return E; | 324 | 463 | })); | 325 | 463 | } | 326 | 903 | return {}; | 327 | 969 | } |
component_instance.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::CoreInstance, WasmEdge::AST::Component::InlineExport, WasmEdge::Loader::Loader::loadCoreInstance(WasmEdge::AST::Component::CoreInstance&)::$_1&>(std::__1::vector<WasmEdge::AST::Component::InlineExport, std::__1::allocator<WasmEdge::AST::Component::InlineExport> >&, WasmEdge::Loader::Loader::loadCoreInstance(WasmEdge::AST::Component::CoreInstance&)::$_1&) Line | Count | Source | 312 | 2.52k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 2.52k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 2.49k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 2.49k | })); | 317 | 2.49k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 41.4k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 39.0k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 39.0k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 39.0k | return E; | 324 | 39.0k | })); | 325 | 39.0k | } | 326 | 2.39k | return {}; | 327 | 2.49k | } |
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 | 312 | 2.43k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 2.43k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 2.39k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 2.39k | })); | 317 | 2.39k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 6.07k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 3.75k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 3.75k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 3.75k | return E; | 324 | 3.75k | })); | 325 | 3.75k | } | 326 | 2.31k | return {}; | 327 | 2.39k | } |
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 | 312 | 9.75k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 9.75k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 9.72k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 9.72k | })); | 317 | 9.72k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 10.5k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 845 | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 845 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 845 | return E; | 324 | 845 | })); | 325 | 845 | } | 326 | 9.69k | return {}; | 327 | 9.72k | } |
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&)::$_3::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&)::$_3::operator()() const::{lambda(WasmEdge::AST::Component::CanonOpt&)#1}&&)Line | Count | Source | 312 | 9.65k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 9.65k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 9.62k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 9.62k | })); | 317 | 9.62k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 18.7k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 9.21k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 9.21k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 9.21k | return E; | 324 | 9.21k | })); | 325 | 9.21k | } | 326 | 9.50k | return {}; | 327 | 9.62k | } |
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&)::$_4>(std::__1::vector<WasmEdge::AST::Component::LabelValType, std::__1::allocator<WasmEdge::AST::Component::LabelValType> >&, WasmEdge::Loader::Loader::loadCanonical(WasmEdge::AST::Component::Canonical&)::$_4&&) Line | Count | Source | 312 | 535 | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 535 | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 527 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 527 | })); | 317 | 527 | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 1.45k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 956 | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 956 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 956 | return E; | 324 | 956 | })); | 325 | 956 | } | 326 | 498 | return {}; | 327 | 527 | } |
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 | 312 | 899 | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 899 | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 864 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 864 | })); | 317 | 864 | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 37.6k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 36.8k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 36.8k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 36.8k | return E; | 324 | 36.8k | })); | 325 | 36.8k | } | 326 | 843 | return {}; | 327 | 864 | } |
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 | 312 | 26.2k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 26.2k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 26.2k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 26.2k | })); | 317 | 26.2k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 33.3k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 8.28k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 8.28k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 8.28k | return E; | 324 | 8.28k | })); | 325 | 8.28k | } | 326 | 25.0k | return {}; | 327 | 26.2k | } |
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 | 312 | 8.07k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 8.07k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 8.03k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 8.03k | })); | 317 | 8.03k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 12.9k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 4.93k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 4.93k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 4.93k | return E; | 324 | 4.93k | })); | 325 | 4.93k | } | 326 | 7.99k | return {}; | 327 | 8.03k | } |
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 | 312 | 65.9k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 65.9k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 65.9k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 65.9k | })); | 317 | 65.9k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 76.5k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 16.3k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 16.3k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 16.3k | return E; | 324 | 16.3k | })); | 325 | 16.3k | } | 326 | 60.1k | return {}; | 327 | 65.9k | } |
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 | 312 | 185k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 185k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 185k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 185k | })); | 317 | 185k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 186k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 2.62k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 2.62k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 2.62k | return E; | 324 | 2.62k | })); | 325 | 2.62k | } | 326 | 184k | return {}; | 327 | 185k | } |
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 | 312 | 900 | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 900 | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 868 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 868 | })); | 317 | 868 | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 3.04k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 2.22k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 2.22k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 2.22k | return E; | 324 | 2.22k | })); | 325 | 2.22k | } | 326 | 827 | return {}; | 327 | 868 | } |
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 | 312 | 516 | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 516 | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 483 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 483 | })); | 317 | 483 | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 1.70k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 1.32k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 1.32k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 1.32k | return E; | 324 | 1.32k | })); | 325 | 1.32k | } | 326 | 383 | return {}; | 327 | 483 | } |
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 | 312 | 779 | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 779 | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 747 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 747 | })); | 317 | 747 | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 3.67k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 2.99k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 2.99k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 2.99k | return E; | 324 | 2.99k | })); | 325 | 2.99k | } | 326 | 674 | return {}; | 327 | 747 | } |
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 | 312 | 608 | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 608 | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 578 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 578 | })); | 317 | 578 | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 3.24k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 2.70k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 2.70k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 2.70k | return E; | 324 | 2.70k | })); | 325 | 2.70k | } | 326 | 540 | return {}; | 327 | 578 | } |
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 | 312 | 1.64k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.64k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.61k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.61k | })); | 317 | 1.61k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 13.1k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 11.6k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 11.6k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 11.6k | return E; | 324 | 11.6k | })); | 325 | 11.6k | } | 326 | 1.54k | return {}; | 327 | 1.61k | } |
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 | 312 | 735 | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 735 | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 679 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 679 | })); | 317 | 679 | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 19.6k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 19.1k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 19.1k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 19.1k | return E; | 324 | 19.1k | })); | 325 | 19.1k | } | 326 | 425 | return {}; | 327 | 679 | } |
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 | 312 | 4.50k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 4.50k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 4.45k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 4.45k | })); | 317 | 4.45k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 2.37M | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 2.36M | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 2.36M | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 2.36M | return E; | 324 | 2.36M | })); | 325 | 2.36M | } | 326 | 4.40k | return {}; | 327 | 4.45k | } |
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 | 312 | 1.48k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.48k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.42k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.42k | })); | 317 | 1.42k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 3.74k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 2.57k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 2.57k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 2.57k | return E; | 324 | 2.57k | })); | 325 | 2.57k | } | 326 | 1.16k | return {}; | 327 | 1.42k | } |
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 | 312 | 1.73k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.73k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.68k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.68k | })); | 317 | 1.68k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 5.19k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 3.60k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 3.60k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 3.60k | return E; | 324 | 3.60k | })); | 325 | 3.60k | } | 326 | 1.58k | return {}; | 327 | 1.68k | } |
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 | 312 | 2.43k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 2.43k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 2.40k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 2.40k | })); | 317 | 2.40k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 3.87k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 3.01k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 3.01k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 3.01k | return E; | 324 | 3.01k | })); | 325 | 3.01k | } | 326 | 852 | return {}; | 327 | 2.40k | } |
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 | 312 | 1.25k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.25k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.21k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.21k | })); | 317 | 1.21k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 25.2k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 24.2k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 24.2k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 24.2k | return E; | 324 | 24.2k | })); | 325 | 24.2k | } | 326 | 1.06k | return {}; | 327 | 1.21k | } |
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 | 312 | 4.03k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 4.03k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 3.97k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 3.97k | })); | 317 | 3.97k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 11.9k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 11.5k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 11.5k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 11.5k | return E; | 324 | 11.5k | })); | 325 | 11.5k | } | 326 | 425 | return {}; | 327 | 3.97k | } |
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 | 312 | 6.10k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 6.10k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 6.05k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 6.05k | })); | 317 | 6.05k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 23.8k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 20.0k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 20.0k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 20.0k | return E; | 324 | 20.0k | })); | 325 | 20.0k | } | 326 | 3.81k | return {}; | 327 | 6.05k | } |
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 | 312 | 2.96k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 2.96k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 2.91k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 2.91k | })); | 317 | 2.91k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 7.17k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 6.70k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 6.70k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 6.70k | return E; | 324 | 6.70k | })); | 325 | 6.70k | } | 326 | 472 | return {}; | 327 | 2.91k | } |
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 | 312 | 198 | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 198 | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 148 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 148 | })); | 317 | 148 | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 1.07k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 975 | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 975 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 975 | return E; | 324 | 975 | })); | 325 | 975 | } | 326 | 97 | return {}; | 327 | 148 | } |
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 | 312 | 2.09k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 2.09k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 2.04k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 2.04k | })); | 317 | 2.04k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 5.48k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 3.60k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 3.60k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 3.60k | return E; | 324 | 3.60k | })); | 325 | 3.60k | } | 326 | 1.87k | return {}; | 327 | 2.04k | } |
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 | 312 | 28.6k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 28.6k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 28.6k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 28.6k | })); | 317 | 28.6k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 30.3k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 1.76k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 1.76k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 1.76k | return E; | 324 | 1.76k | })); | 325 | 1.76k | } | 326 | 28.5k | return {}; | 327 | 28.6k | } |
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 | 312 | 1.38k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.38k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.36k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.36k | })); | 317 | 1.36k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 46.1k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 44.7k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 44.7k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 44.7k | return E; | 324 | 44.7k | })); | 325 | 44.7k | } | 326 | 1.32k | return {}; | 327 | 1.36k | } |
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 | 312 | 23.7k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 23.7k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 23.7k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 23.7k | })); | 317 | 23.7k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 69.2k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 45.6k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 45.6k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 45.6k | return E; | 324 | 45.6k | })); | 325 | 45.6k | } | 326 | 23.5k | return {}; | 327 | 23.7k | } |
|
328 | | |
329 | | template <typename T, typename ElemLoader> |
330 | 819k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { |
331 | 819k | Sec.setStartOffset(FMgr.getOffset()); |
332 | | // Load the section size first. |
333 | 819k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { |
334 | 819k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); |
335 | 819k | })); |
336 | | |
337 | | // Check the remain file/buffer size. |
338 | 819k | if (unlikely(FMgr.getRemainSize() < SecSize)) { |
339 | 959 | return logLoadError(ErrCode::Value::LengthOutOfBounds, |
340 | 959 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); |
341 | 959 | } |
342 | | |
343 | | // Set the section size. |
344 | 818k | Sec.setContentSize(SecSize); |
345 | 818k | auto StartOffset = FMgr.getOffset(); |
346 | | |
347 | | // Invoke the callback function. |
348 | 818k | EXPECTED_TRY(Func()); |
349 | | |
350 | | // Check the read size matches the section size. |
351 | 801k | auto EndOffset = FMgr.getOffset(); |
352 | 801k | if (EndOffset - StartOffset != Sec.getContentSize()) { |
353 | 750 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, |
354 | 750 | NodeAttrFromAST<T>()); |
355 | 750 | } |
356 | 800k | return {}; |
357 | 801k | } 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 | 330 | 3.15k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 3.15k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 3.15k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 3.13k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 3.13k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 3.13k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 39 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 39 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 39 | } | 342 | | | 343 | | // Set the section size. | 344 | 3.09k | Sec.setContentSize(SecSize); | 345 | 3.09k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 3.09k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 2.98k | auto EndOffset = FMgr.getOffset(); | 352 | 2.98k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 12 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 12 | NodeAttrFromAST<T>()); | 355 | 12 | } | 356 | 2.97k | return {}; | 357 | 2.98k | } |
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 | 330 | 4.35k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 4.35k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 4.35k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 4.35k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 4.35k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 4.35k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 33 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 33 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 33 | } | 342 | | | 343 | | // Set the section size. | 344 | 4.31k | Sec.setContentSize(SecSize); | 345 | 4.31k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 4.31k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 4.01k | auto EndOffset = FMgr.getOffset(); | 352 | 4.01k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 38 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 38 | NodeAttrFromAST<T>()); | 355 | 38 | } | 356 | 3.97k | return {}; | 357 | 4.01k | } |
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 | 330 | 62.0k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 62.0k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 62.0k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 62.0k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 62.0k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 62.0k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 34 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 34 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 34 | } | 342 | | | 343 | | // Set the section size. | 344 | 61.9k | Sec.setContentSize(SecSize); | 345 | 61.9k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 61.9k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 61.5k | auto EndOffset = FMgr.getOffset(); | 352 | 61.5k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 46 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 46 | NodeAttrFromAST<T>()); | 355 | 46 | } | 356 | 61.4k | return {}; | 357 | 61.5k | } |
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 | 330 | 7.18k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 7.18k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 7.18k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 7.18k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 7.18k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 7.18k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 40 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 40 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 40 | } | 342 | | | 343 | | // Set the section size. | 344 | 7.14k | Sec.setContentSize(SecSize); | 345 | 7.14k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 7.14k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 5.20k | auto EndOffset = FMgr.getOffset(); | 352 | 5.20k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 15 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 15 | NodeAttrFromAST<T>()); | 355 | 15 | } | 356 | 5.18k | return {}; | 357 | 5.20k | } |
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 | 330 | 14.0k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 14.0k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 14.0k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 14.0k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 14.0k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 14.0k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 11 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 11 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 11 | } | 342 | | | 343 | | // Set the section size. | 344 | 14.0k | Sec.setContentSize(SecSize); | 345 | 14.0k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 14.0k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 13.7k | auto EndOffset = FMgr.getOffset(); | 352 | 13.7k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 11 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 11 | NodeAttrFromAST<T>()); | 355 | 11 | } | 356 | 13.7k | return {}; | 357 | 13.7k | } |
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 | 330 | 1.97k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 1.97k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 1.97k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 1.97k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 1.97k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 1.97k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 9 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 9 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 9 | } | 342 | | | 343 | | // Set the section size. | 344 | 1.96k | Sec.setContentSize(SecSize); | 345 | 1.96k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 1.96k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 1.83k | auto EndOffset = FMgr.getOffset(); | 352 | 1.83k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 11 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 11 | NodeAttrFromAST<T>()); | 355 | 11 | } | 356 | 1.82k | return {}; | 357 | 1.83k | } |
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 | 330 | 281k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 281k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 281k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 281k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 281k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 281k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 22 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 22 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 22 | } | 342 | | | 343 | | // Set the section size. | 344 | 281k | Sec.setContentSize(SecSize); | 345 | 281k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 281k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 280k | auto EndOffset = FMgr.getOffset(); | 352 | 280k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 69 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 69 | NodeAttrFromAST<T>()); | 355 | 69 | } | 356 | 280k | return {}; | 357 | 280k | } |
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 | 330 | 12.5k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 12.5k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 12.5k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 12.5k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 12.5k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 12.5k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 23 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 23 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 23 | } | 342 | | | 343 | | // Set the section size. | 344 | 12.4k | Sec.setContentSize(SecSize); | 345 | 12.4k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 12.4k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 11.9k | auto EndOffset = FMgr.getOffset(); | 352 | 11.9k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 36 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 36 | NodeAttrFromAST<T>()); | 355 | 36 | } | 356 | 11.8k | return {}; | 357 | 11.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 | 330 | 943 | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 943 | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 943 | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 940 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 940 | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 940 | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 37 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 37 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 37 | } | 342 | | | 343 | | // Set the section size. | 344 | 903 | Sec.setContentSize(SecSize); | 345 | 903 | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 903 | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 836 | auto EndOffset = FMgr.getOffset(); | 352 | 836 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 26 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 26 | NodeAttrFromAST<T>()); | 355 | 26 | } | 356 | 810 | return {}; | 357 | 836 | } |
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 | 330 | 12.1k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 12.1k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 12.1k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 12.1k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 12.1k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 12.1k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 16 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 16 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 16 | } | 342 | | | 343 | | // Set the section size. | 344 | 12.1k | Sec.setContentSize(SecSize); | 345 | 12.1k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 12.1k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 12.0k | auto EndOffset = FMgr.getOffset(); | 352 | 12.0k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 8 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 8 | NodeAttrFromAST<T>()); | 355 | 8 | } | 356 | 12.0k | return {}; | 357 | 12.0k | } |
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 | 330 | 5.24k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 5.24k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 5.24k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 5.24k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 5.24k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 5.24k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 20 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 20 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 20 | } | 342 | | | 343 | | // Set the section size. | 344 | 5.22k | Sec.setContentSize(SecSize); | 345 | 5.22k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 5.22k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 5.13k | auto EndOffset = FMgr.getOffset(); | 352 | 5.13k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 26 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 26 | NodeAttrFromAST<T>()); | 355 | 26 | } | 356 | 5.11k | return {}; | 357 | 5.13k | } |
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 | 330 | 382k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 382k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 382k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 382k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 382k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 382k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 112 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 112 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 112 | } | 342 | | | 343 | | // Set the section size. | 344 | 382k | Sec.setContentSize(SecSize); | 345 | 382k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 382k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 382k | auto EndOffset = FMgr.getOffset(); | 352 | 382k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 0 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 0 | NodeAttrFromAST<T>()); | 355 | 0 | } | 356 | 382k | return {}; | 357 | 382k | } |
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 | 330 | 5.09k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 5.09k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 5.09k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 5.08k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 5.08k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 5.08k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 50 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 50 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 50 | } | 342 | | | 343 | | // Set the section size. | 344 | 5.03k | Sec.setContentSize(SecSize); | 345 | 5.03k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 5.03k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 4.59k | auto EndOffset = FMgr.getOffset(); | 352 | 4.59k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 23 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 23 | NodeAttrFromAST<T>()); | 355 | 23 | } | 356 | 4.57k | return {}; | 357 | 4.59k | } |
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 | 330 | 790 | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 790 | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 790 | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 786 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 786 | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 786 | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 51 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 51 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 51 | } | 342 | | | 343 | | // Set the section size. | 344 | 735 | Sec.setContentSize(SecSize); | 345 | 735 | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 735 | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 425 | auto EndOffset = FMgr.getOffset(); | 352 | 425 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 41 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 41 | NodeAttrFromAST<T>()); | 355 | 41 | } | 356 | 384 | return {}; | 357 | 425 | } |
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 | 330 | 4.54k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 4.54k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 4.54k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 4.53k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 4.53k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 4.53k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 32 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 32 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 32 | } | 342 | | | 343 | | // Set the section size. | 344 | 4.50k | Sec.setContentSize(SecSize); | 345 | 4.50k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 4.50k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 4.40k | auto EndOffset = FMgr.getOffset(); | 352 | 4.40k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 43 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 43 | NodeAttrFromAST<T>()); | 355 | 43 | } | 356 | 4.35k | return {}; | 357 | 4.40k | } |
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 | 330 | 1.53k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 1.53k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 1.53k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 1.53k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 1.53k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 1.53k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 50 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 50 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 50 | } | 342 | | | 343 | | // Set the section size. | 344 | 1.48k | Sec.setContentSize(SecSize); | 345 | 1.48k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 1.48k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 1.16k | auto EndOffset = FMgr.getOffset(); | 352 | 1.16k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 61 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 61 | NodeAttrFromAST<T>()); | 355 | 61 | } | 356 | 1.10k | return {}; | 357 | 1.16k | } |
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 | 330 | 1.78k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 1.78k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 1.78k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 1.78k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 1.78k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 1.78k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 43 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 43 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 43 | } | 342 | | | 343 | | // Set the section size. | 344 | 1.73k | Sec.setContentSize(SecSize); | 345 | 1.73k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 1.73k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 1.58k | auto EndOffset = FMgr.getOffset(); | 352 | 1.58k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 20 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 20 | NodeAttrFromAST<T>()); | 355 | 20 | } | 356 | 1.56k | return {}; | 357 | 1.58k | } |
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 | 330 | 2.47k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 2.47k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 2.47k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 2.46k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 2.46k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 2.46k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 31 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 31 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 31 | } | 342 | | | 343 | | // Set the section size. | 344 | 2.43k | Sec.setContentSize(SecSize); | 345 | 2.43k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 2.43k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 852 | auto EndOffset = FMgr.getOffset(); | 352 | 852 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 47 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 47 | NodeAttrFromAST<T>()); | 355 | 47 | } | 356 | 805 | return {}; | 357 | 852 | } |
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 | 330 | 1.29k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 1.29k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 1.29k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 1.29k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 1.29k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 1.29k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 33 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 33 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 33 | } | 342 | | | 343 | | // Set the section size. | 344 | 1.25k | Sec.setContentSize(SecSize); | 345 | 1.25k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 1.25k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 1.06k | auto EndOffset = FMgr.getOffset(); | 352 | 1.06k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 35 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 35 | NodeAttrFromAST<T>()); | 355 | 35 | } | 356 | 1.02k | return {}; | 357 | 1.06k | } |
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 | 330 | 213 | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 213 | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 213 | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 206 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 206 | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 206 | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 51 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 51 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 51 | } | 342 | | | 343 | | // Set the section size. | 344 | 155 | Sec.setContentSize(SecSize); | 345 | 155 | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 155 | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 149 | auto EndOffset = FMgr.getOffset(); | 352 | 149 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 22 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 22 | NodeAttrFromAST<T>()); | 355 | 22 | } | 356 | 127 | return {}; | 357 | 149 | } |
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 | 330 | 4.06k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 4.06k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 4.06k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 4.06k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 4.06k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 4.06k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 29 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 29 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 29 | } | 342 | | | 343 | | // Set the section size. | 344 | 4.03k | Sec.setContentSize(SecSize); | 345 | 4.03k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 4.03k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 425 | auto EndOffset = FMgr.getOffset(); | 352 | 425 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 46 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 46 | NodeAttrFromAST<T>()); | 355 | 46 | } | 356 | 379 | return {}; | 357 | 425 | } |
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 | 330 | 6.16k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 6.16k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 6.16k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 6.15k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 6.15k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 6.15k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 49 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 49 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 49 | } | 342 | | | 343 | | // Set the section size. | 344 | 6.10k | Sec.setContentSize(SecSize); | 345 | 6.10k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 6.10k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 3.81k | auto EndOffset = FMgr.getOffset(); | 352 | 3.81k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 17 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 17 | NodeAttrFromAST<T>()); | 355 | 17 | } | 356 | 3.79k | return {}; | 357 | 3.81k | } |
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 | 330 | 3.02k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 3.02k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 3.02k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 3.01k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 3.01k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 3.01k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 50 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 50 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 50 | } | 342 | | | 343 | | // Set the section size. | 344 | 2.96k | Sec.setContentSize(SecSize); | 345 | 2.96k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 2.96k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 472 | auto EndOffset = FMgr.getOffset(); | 352 | 472 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 56 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 56 | NodeAttrFromAST<T>()); | 355 | 56 | } | 356 | 416 | return {}; | 357 | 472 | } |
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 | 330 | 380 | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 380 | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 380 | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 378 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 378 | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 378 | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 51 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 51 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 51 | } | 342 | | | 343 | | // Set the section size. | 344 | 327 | Sec.setContentSize(SecSize); | 345 | 327 | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 327 | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 322 | auto EndOffset = FMgr.getOffset(); | 352 | 322 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 19 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 19 | NodeAttrFromAST<T>()); | 355 | 19 | } | 356 | 303 | return {}; | 357 | 322 | } |
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 | 330 | 246 | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 246 | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 246 | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 241 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 241 | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 241 | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 43 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 43 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 43 | } | 342 | | | 343 | | // Set the section size. | 344 | 198 | Sec.setContentSize(SecSize); | 345 | 198 | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 198 | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 97 | auto EndOffset = FMgr.getOffset(); | 352 | 97 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 22 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 22 | NodeAttrFromAST<T>()); | 355 | 22 | } | 356 | 75 | return {}; | 357 | 97 | } |
|
358 | | |
359 | | template <typename T, typename ElemLoader> |
360 | 419k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { |
361 | 419k | return loadVec<T>(Sec.getContent(), std::move(Func)); |
362 | 419k | } 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 | 360 | 4.31k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 4.31k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 4.31k | } |
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 | 360 | 61.9k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 61.9k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 61.9k | } |
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 | 360 | 14.0k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 14.0k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 14.0k | } |
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 | 360 | 1.96k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 1.96k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 1.96k | } |
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 | 360 | 281k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 281k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 281k | } |
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 | 360 | 12.4k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 12.4k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 12.4k | } |
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 | 360 | 12.1k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 12.1k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 12.1k | } |
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 | 360 | 5.22k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 5.22k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 5.22k | } |
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 | 360 | 735 | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 735 | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 735 | } |
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 | 360 | 4.50k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 4.50k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 4.50k | } |
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 | 360 | 1.48k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 1.48k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 1.48k | } |
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 | 360 | 1.73k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 1.73k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 1.73k | } |
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 | 360 | 2.43k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 2.43k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 2.43k | } |
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 | 360 | 1.25k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 1.25k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 1.25k | } |
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 | 360 | 4.03k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 4.03k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 4.03k | } |
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 | 360 | 6.10k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 6.10k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 6.10k | } |
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 | 360 | 2.96k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 2.96k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 2.96k | } |
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 | 360 | 198 | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 198 | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 198 | } |
|
363 | | /// @} |
364 | | |
365 | | /// \name Helper function to set the function type for tag |
366 | | /// @{ |
367 | | void setTagFunctionType(AST::TagSection &TagSec, |
368 | | AST::ImportSection &ImportSec, |
369 | | AST::TypeSection &TypeSec); |
370 | | /// @} |
371 | | |
372 | | /// \name Load AST nodes functions |
373 | | /// @{ |
374 | | Expect<void> loadSection(AST::CustomSection &Sec); |
375 | | Expect<void> loadSection(AST::TypeSection &Sec); |
376 | | Expect<void> loadSection(AST::ImportSection &Sec); |
377 | | Expect<void> loadSection(AST::FunctionSection &Sec); |
378 | | Expect<void> loadSection(AST::TableSection &Sec); |
379 | | Expect<void> loadSection(AST::MemorySection &Sec); |
380 | | Expect<void> loadSection(AST::GlobalSection &Sec); |
381 | | Expect<void> loadSection(AST::ExportSection &Sec); |
382 | | Expect<void> loadSection(AST::StartSection &Sec); |
383 | | Expect<void> loadSection(AST::ElementSection &Sec); |
384 | | Expect<void> loadSection(AST::CodeSection &Sec); |
385 | | Expect<void> loadSection(AST::DataSection &Sec); |
386 | | Expect<void> loadSection(AST::DataCountSection &Sec); |
387 | | Expect<void> loadSection(AST::TagSection &Sec); |
388 | | static Expect<void> loadSection(FileMgr &VecMgr, AST::AOTSection &Sec); |
389 | | Expect<void> loadSegment(AST::TableSegment &TabSeg); |
390 | | Expect<void> loadSegment(AST::GlobalSegment &GlobSeg); |
391 | | Expect<void> loadSegment(AST::ElementSegment &ElemSeg); |
392 | | Expect<void> loadSegment(AST::CodeSegment &CodeSeg); |
393 | | Expect<void> loadSegment(AST::DataSegment &DataSeg); |
394 | | Expect<void> loadDesc(AST::ImportDesc &ImpDesc); |
395 | | Expect<void> loadDesc(AST::ExportDesc &ExpDesc); |
396 | | Expect<ValType> loadHeapType(TypeCode TC, ASTNodeAttr From); |
397 | | Expect<ValType> loadRefType(ASTNodeAttr From); |
398 | | Expect<ValType> loadValType(ASTNodeAttr From, bool IsStorageType = false); |
399 | | Expect<ValMut> loadMutability(ASTNodeAttr From); |
400 | | Expect<void> loadFieldType(AST::FieldType &FType); |
401 | | Expect<void> loadCompositeType(AST::CompositeType &CType); |
402 | | Expect<void> loadLimit(AST::Limit &Lim); |
403 | | Expect<void> loadType(AST::SubType &SType); |
404 | | Expect<void> loadType(AST::FunctionType &FuncType); |
405 | | Expect<void> loadType(AST::MemoryType &MemType); |
406 | | Expect<void> loadType(AST::TableType &TabType); |
407 | | Expect<void> loadType(AST::GlobalType &GlobType); |
408 | | Expect<void> loadType(AST::TagType &TgType); |
409 | | Expect<void> loadExpression(AST::Expression &Expr, |
410 | | std::optional<uint64_t> SizeBound = std::nullopt); |
411 | | Expect<OpCode> loadOpCode(); |
412 | | Expect<AST::InstrVec> loadInstrSeq(std::optional<uint64_t> SizeBound); |
413 | | Expect<void> loadInstruction(AST::Instruction &Instr); |
414 | | /// @} |
415 | | |
416 | | /// \name Load AST nodes functions for component model |
417 | | /// @{ |
418 | | // Sections |
419 | | Expect<void> loadSection(AST::Component::CoreModuleSection &Sec); |
420 | | Expect<void> loadSection(AST::Component::CoreInstanceSection &Sec); |
421 | | Expect<void> loadSection(AST::Component::CoreTypeSection &Sec); |
422 | | Expect<void> loadSection(AST::Component::ComponentSection &Sec); |
423 | | Expect<void> loadSection(AST::Component::InstanceSection &Sec); |
424 | | Expect<void> loadSection(AST::Component::AliasSection &Sec); |
425 | | Expect<void> loadSection(AST::Component::TypeSection &Sec); |
426 | | Expect<void> loadSection(AST::Component::CanonSection &Sec); |
427 | | Expect<void> loadSection(AST::Component::StartSection &Sec); |
428 | | Expect<void> loadSection(AST::Component::ImportSection &Sec); |
429 | | Expect<void> loadSection(AST::Component::ExportSection &Sec); |
430 | | // core:instance and instance |
431 | | Expect<void> loadCoreInstance(AST::Component::CoreInstance &Instance); |
432 | | Expect<void> loadInstance(AST::Component::Instance &Instance); |
433 | | // core:sort and sort |
434 | | Expect<void> loadCoreSort(AST::Component::Sort &Sort); |
435 | | Expect<void> loadSort(AST::Component::Sort &Sort); |
436 | | Expect<void> loadSortIndex(AST::Component::SortIndex &SortIdx, |
437 | | const bool IsCore = false); |
438 | | // core:alias and alias |
439 | | Expect<void> loadCoreAlias(AST::Component::CoreAlias &Alias); |
440 | | Expect<void> loadAlias(AST::Component::Alias &Alias); |
441 | | // core:deftype and deftype |
442 | | Expect<void> loadType(AST::Component::CoreDefType &Ty); |
443 | | Expect<void> loadType(AST::Component::DefType &Ty); |
444 | | Expect<void> loadType(AST::Component::DefValType &Ty, uint8_t Code); |
445 | | Expect<void> loadType(AST::Component::FuncType &Ty); |
446 | | Expect<void> loadType(AST::Component::ComponentType &Ty); |
447 | | Expect<void> loadType(AST::Component::InstanceType &Ty); |
448 | | Expect<void> loadType(AST::Component::ResourceType &Ty); |
449 | | // start |
450 | | Expect<void> loadStart(AST::Component::Start &S); |
451 | | // canonical |
452 | | Expect<void> loadCanonical(AST::Component::Canonical &C); |
453 | | Expect<void> loadCanonicalOption(AST::Component::CanonOpt &Opt); |
454 | | // import |
455 | | Expect<void> loadImport(AST::Component::Import &Im); |
456 | | // export |
457 | | Expect<void> loadExport(AST::Component::Export &Ex); |
458 | | // descs |
459 | | Expect<void> loadDesc(AST::Component::CoreImportDesc &Desc); |
460 | | Expect<void> loadDesc(AST::Component::ExternDesc &Desc); |
461 | | // decls |
462 | | Expect<void> loadDecl(AST::Component::CoreImportDecl &Decl); |
463 | | Expect<void> loadDecl(AST::Component::CoreExportDecl &Decl); |
464 | | Expect<void> loadDecl(AST::Component::CoreModuleDecl &Decl); |
465 | | Expect<void> loadDecl(AST::Component::ImportDecl &Decl); |
466 | | Expect<void> loadDecl(AST::Component::ExportDecl &Decl); |
467 | | Expect<void> loadDecl(AST::Component::InstanceDecl &Decl); |
468 | | Expect<void> loadDecl(AST::Component::ComponentDecl &Decl); |
469 | | // types |
470 | | Expect<void> loadType(AST::Component::RecordTy &RecTy); |
471 | | Expect<void> loadType(AST::Component::VariantTy &Ty); |
472 | | Expect<void> loadType(AST::Component::ListTy &Ty, bool IsFixedLen = false); |
473 | | Expect<void> loadType(AST::Component::TupleTy &Ty); |
474 | | Expect<void> loadType(AST::Component::FlagsTy &Ty); |
475 | | Expect<void> loadType(AST::Component::EnumTy &Ty); |
476 | | Expect<void> loadType(AST::Component::OptionTy &Ty); |
477 | | Expect<void> loadType(AST::Component::ResultTy &Ty); |
478 | | Expect<void> loadType(AST::Component::OwnTy &Ty); |
479 | | Expect<void> loadType(AST::Component::BorrowTy &Ty); |
480 | | Expect<void> loadType(AST::Component::StreamTy &Ty); |
481 | | Expect<void> loadType(AST::Component::FutureTy &Ty); |
482 | | // helpers |
483 | | Expect<void> loadExternName(std::string &Name); |
484 | | Expect<void> loadType(ComponentValType &Ty); |
485 | | Expect<void> loadType(AST::Component::LabelValType &Ty); |
486 | | template <typename ASTType, typename T> |
487 | 17.4k | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { |
488 | 17.4k | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { |
489 | 17.3k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); |
490 | 17.3k | })); |
491 | 17.3k | switch (Flag) { |
492 | 4.04k | case 0x01: { |
493 | 4.04k | T V; |
494 | 4.04k | EXPECTED_TRY(F(V).map_error([](auto E) { |
495 | 4.01k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); |
496 | 4.01k | return E; |
497 | 4.01k | })); |
498 | 4.01k | return std::optional<T>(V); |
499 | 4.04k | } |
500 | 13.2k | case 0x00: |
501 | 13.2k | return std::nullopt; |
502 | 38 | default: |
503 | 38 | return logLoadError(ErrCode::Value::MalformedDefType, |
504 | 38 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); |
505 | 17.3k | } |
506 | 17.3k | } 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 | 487 | 5.31k | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { | 488 | 5.31k | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { | 489 | 5.31k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 490 | 5.31k | })); | 491 | 5.31k | switch (Flag) { | 492 | 163 | case 0x01: { | 493 | 163 | T V; | 494 | 163 | EXPECTED_TRY(F(V).map_error([](auto E) { | 495 | 161 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 496 | 161 | return E; | 497 | 161 | })); | 498 | 161 | return std::optional<T>(V); | 499 | 163 | } | 500 | 5.14k | case 0x00: | 501 | 5.14k | return std::nullopt; | 502 | 4 | default: | 503 | 4 | return logLoadError(ErrCode::Value::MalformedDefType, | 504 | 4 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 505 | 5.31k | } | 506 | 5.31k | } |
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 | 487 | 1.27k | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { | 488 | 1.27k | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { | 489 | 1.26k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 490 | 1.26k | })); | 491 | 1.26k | switch (Flag) { | 492 | 161 | case 0x01: { | 493 | 161 | T V; | 494 | 161 | EXPECTED_TRY(F(V).map_error([](auto E) { | 495 | 160 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 496 | 160 | return E; | 497 | 160 | })); | 498 | 160 | return std::optional<T>(V); | 499 | 161 | } | 500 | 1.09k | case 0x00: | 501 | 1.09k | return std::nullopt; | 502 | 18 | default: | 503 | 18 | return logLoadError(ErrCode::Value::MalformedDefType, | 504 | 18 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 505 | 1.26k | } | 506 | 1.26k | } |
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 | 487 | 4.88k | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { | 488 | 4.88k | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { | 489 | 4.87k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 490 | 4.87k | })); | 491 | 4.87k | switch (Flag) { | 492 | 2.28k | case 0x01: { | 493 | 2.28k | T V; | 494 | 2.28k | EXPECTED_TRY(F(V).map_error([](auto E) { | 495 | 2.28k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 496 | 2.28k | return E; | 497 | 2.28k | })); | 498 | 2.28k | return std::optional<T>(V); | 499 | 2.28k | } | 500 | 2.57k | case 0x00: | 501 | 2.57k | return std::nullopt; | 502 | 8 | default: | 503 | 8 | return logLoadError(ErrCode::Value::MalformedDefType, | 504 | 8 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 505 | 4.87k | } | 506 | 4.87k | } |
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 | 487 | 2.08k | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { | 488 | 2.08k | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { | 489 | 2.08k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 490 | 2.08k | })); | 491 | 2.08k | switch (Flag) { | 492 | 838 | case 0x01: { | 493 | 838 | T V; | 494 | 838 | EXPECTED_TRY(F(V).map_error([](auto E) { | 495 | 836 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 496 | 836 | return E; | 497 | 836 | })); | 498 | 836 | return std::optional<T>(V); | 499 | 838 | } | 500 | 1.24k | case 0x00: | 501 | 1.24k | return std::nullopt; | 502 | 3 | default: | 503 | 3 | return logLoadError(ErrCode::Value::MalformedDefType, | 504 | 3 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 505 | 2.08k | } | 506 | 2.08k | } |
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 | 487 | 1.64k | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { | 488 | 1.64k | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { | 489 | 1.64k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 490 | 1.64k | })); | 491 | 1.64k | switch (Flag) { | 492 | 404 | case 0x01: { | 493 | 404 | T V; | 494 | 404 | EXPECTED_TRY(F(V).map_error([](auto E) { | 495 | 386 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 496 | 386 | return E; | 497 | 386 | })); | 498 | 386 | return std::optional<T>(V); | 499 | 404 | } | 500 | 1.24k | case 0x00: | 501 | 1.24k | return std::nullopt; | 502 | 1 | default: | 503 | 1 | return logLoadError(ErrCode::Value::MalformedDefType, | 504 | 1 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 505 | 1.64k | } | 506 | 1.64k | } |
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 | 487 | 2.19k | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { | 488 | 2.19k | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { | 489 | 2.18k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 490 | 2.18k | })); | 491 | 2.18k | switch (Flag) { | 492 | 192 | case 0x01: { | 493 | 192 | T V; | 494 | 192 | EXPECTED_TRY(F(V).map_error([](auto E) { | 495 | 187 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 496 | 187 | return E; | 497 | 187 | })); | 498 | 187 | return std::optional<T>(V); | 499 | 192 | } | 500 | 1.99k | case 0x00: | 501 | 1.99k | return std::nullopt; | 502 | 4 | default: | 503 | 4 | return logLoadError(ErrCode::Value::MalformedDefType, | 504 | 4 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 505 | 2.18k | } | 506 | 2.18k | } |
|
507 | | /// @} |
508 | | |
509 | | /// \name Loader members |
510 | | /// @{ |
511 | | const Configure Conf; |
512 | | const Serializer Ser; |
513 | | FileMgr FMgr; |
514 | | const Executable::IntrinsicsTable *IntrinsicsTable; |
515 | | std::recursive_mutex Mutex; |
516 | | bool HasDataSection; |
517 | | |
518 | | /// Maximum component model loader recursion depth; deeper input is rejected |
519 | | /// to avoid native stack overflow. |
520 | | static inline constexpr uint32_t MaxComponentNestLevel = 256; |
521 | | /// Current component model loader recursion depth. |
522 | | uint32_t ComponentNestLevel = 0; |
523 | | |
524 | | /// Scoped increment/decrement of ComponentNestLevel. |
525 | | struct ComponentNestGuard { |
526 | | uint32_t &Level; |
527 | 379k | explicit ComponentNestGuard(uint32_t &L) noexcept : Level(L) { ++Level; } |
528 | 379k | ~ComponentNestGuard() noexcept { --Level; } |
529 | | ComponentNestGuard(const ComponentNestGuard &) = delete; |
530 | | ComponentNestGuard &operator=(const ComponentNestGuard &) = delete; |
531 | | }; |
532 | | |
533 | | /// Input data type enumeration. |
534 | | enum class InputType : uint8_t { WASM, UniversalWASM, SharedLibrary }; |
535 | | InputType WASMType = InputType::WASM; |
536 | | /// @} |
537 | | |
538 | | // Metadata |
539 | | std::vector<Byte> ModuleVersion = {0x01, 0x00, 0x00, 0x00}; |
540 | | // spec says 0x0a, but it's actually 0x0d, where cargo component compiled out |
541 | | std::vector<Byte> ComponentVersion = {0x0d, 0x00, 0x01, 0x00}; |
542 | | }; |
543 | | |
544 | | } // namespace Loader |
545 | | } // namespace WasmEdge |