/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 | 138 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::CustomSection>() noexcept { |
38 | 138 | return ASTNodeAttr::Sec_Custom; |
39 | 138 | } 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 | 138 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::CustomSection>() noexcept { | 38 | 138 | return ASTNodeAttr::Sec_Custom; | 39 | 138 | } |
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 | 82 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TypeSection>() noexcept { |
41 | 82 | return ASTNodeAttr::Sec_Type; |
42 | 82 | } 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 | 82 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TypeSection>() noexcept { | 41 | 82 | return ASTNodeAttr::Sec_Type; | 42 | 82 | } |
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 | 380 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ImportSection>() noexcept { |
44 | 380 | return ASTNodeAttr::Sec_Import; |
45 | 380 | } 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 | 380 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ImportSection>() noexcept { | 44 | 380 | return ASTNodeAttr::Sec_Import; | 45 | 380 | } |
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 | 206 | inline ASTNodeAttr NodeAttrFromAST<AST::FunctionSection>() noexcept { |
48 | 206 | return ASTNodeAttr::Sec_Function; |
49 | 206 | } 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 | 206 | inline ASTNodeAttr NodeAttrFromAST<AST::FunctionSection>() noexcept { | 48 | 206 | return ASTNodeAttr::Sec_Function; | 49 | 206 | } |
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 | 359 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TableSection>() noexcept { |
51 | 359 | return ASTNodeAttr::Sec_Table; |
52 | 359 | } 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 | 359 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TableSection>() noexcept { | 51 | 359 | return ASTNodeAttr::Sec_Table; | 52 | 359 | } |
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 | 191 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::MemorySection>() noexcept { |
54 | 191 | return ASTNodeAttr::Sec_Memory; |
55 | 191 | } 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 | 191 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::MemorySection>() noexcept { | 54 | 191 | return ASTNodeAttr::Sec_Memory; | 55 | 191 | } |
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.55k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::GlobalSection>() noexcept { |
57 | 1.55k | return ASTNodeAttr::Sec_Global; |
58 | 1.55k | } 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.55k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::GlobalSection>() noexcept { | 57 | 1.55k | return ASTNodeAttr::Sec_Global; | 58 | 1.55k | } |
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 | 303 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ExportSection>() noexcept { |
60 | 303 | return ASTNodeAttr::Sec_Export; |
61 | 303 | } 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 | 303 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ExportSection>() noexcept { | 60 | 303 | return ASTNodeAttr::Sec_Export; | 61 | 303 | } |
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 | 65 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::StartSection>() noexcept { |
63 | 65 | return ASTNodeAttr::Sec_Start; |
64 | 65 | } 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 | 65 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::StartSection>() noexcept { | 63 | 65 | return ASTNodeAttr::Sec_Start; | 64 | 65 | } |
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.96k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ElementSection>() noexcept { |
66 | 3.96k | return ASTNodeAttr::Sec_Element; |
67 | 3.96k | } 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.96k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ElementSection>() noexcept { | 66 | 3.96k | return ASTNodeAttr::Sec_Element; | 67 | 3.96k | } |
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.08k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::CodeSection>() noexcept { |
69 | 2.08k | return ASTNodeAttr::Sec_Code; |
70 | 2.08k | } Unexecuted instantiation: component.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: loader.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_instance.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_sort.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_alias.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_canonical.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_start.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_import.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_export.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_declarator.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_descriptor.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: component_valtype.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: module.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() section.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Line | Count | Source | 68 | 2.08k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::CodeSection>() noexcept { | 69 | 2.08k | return ASTNodeAttr::Sec_Code; | 70 | 2.08k | } |
Unexecuted instantiation: description.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: segment.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: type.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: expression.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: instruction.cpp:WasmEdge::ASTNodeAttr WasmEdge::Loader::(anonymous namespace)::NodeAttrFromAST<WasmEdge::AST::CodeSection>() Unexecuted instantiation: 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.66k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::DataSection>() noexcept { |
72 | 2.66k | return ASTNodeAttr::Sec_Data; |
73 | 2.66k | } 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.66k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::DataSection>() noexcept { | 72 | 2.66k | return ASTNodeAttr::Sec_Data; | 73 | 2.66k | } |
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 | 71 | inline ASTNodeAttr NodeAttrFromAST<AST::DataCountSection>() noexcept { |
76 | 71 | return ASTNodeAttr::Sec_DataCount; |
77 | 71 | } 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 | 71 | inline ASTNodeAttr NodeAttrFromAST<AST::DataCountSection>() noexcept { | 76 | 71 | return ASTNodeAttr::Sec_DataCount; | 77 | 71 | } |
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 | 172 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TagSection>() noexcept { |
79 | 172 | return ASTNodeAttr::Sec_Tag; |
80 | 172 | } 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 | 172 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TagSection>() noexcept { | 79 | 172 | return ASTNodeAttr::Sec_Tag; | 80 | 172 | } |
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 | 154 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::SubType>() noexcept { |
82 | 154 | return ASTNodeAttr::Type_Rec; |
83 | 154 | } 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 | 154 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::SubType>() noexcept { | 82 | 154 | return ASTNodeAttr::Type_Rec; | 83 | 154 | } |
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 | 196 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::FunctionType>() noexcept { |
85 | 196 | return ASTNodeAttr::Type_Function; |
86 | 196 | } 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 | 196 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::FunctionType>() noexcept { | 85 | 196 | return ASTNodeAttr::Type_Function; | 86 | 196 | } |
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 | 285 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ElementSegment>() noexcept { |
88 | 285 | return ASTNodeAttr::Seg_Element; |
89 | 285 | } 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 | 285 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ElementSegment>() noexcept { | 88 | 285 | return ASTNodeAttr::Seg_Element; | 89 | 285 | } |
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 | 55 | NodeAttrFromAST<AST::Component::CoreModuleSection>() noexcept { |
94 | 55 | return ASTNodeAttr::Comp_Sec_CoreMod; |
95 | 55 | } 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 | 55 | NodeAttrFromAST<AST::Component::CoreModuleSection>() noexcept { | 94 | 55 | return ASTNodeAttr::Comp_Sec_CoreMod; | 95 | 55 | } |
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 | 343 | NodeAttrFromAST<AST::Component::CoreInstanceSection>() noexcept { |
99 | 343 | return ASTNodeAttr::Comp_Sec_CoreInstance; |
100 | 343 | } 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 | 343 | NodeAttrFromAST<AST::Component::CoreInstanceSection>() noexcept { | 99 | 343 | return ASTNodeAttr::Comp_Sec_CoreInstance; | 100 | 343 | } |
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 | 512 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreTypeSection>() noexcept { |
103 | 512 | return ASTNodeAttr::Comp_Sec_CoreType; |
104 | 512 | } 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 | 512 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreTypeSection>() noexcept { | 103 | 512 | return ASTNodeAttr::Comp_Sec_CoreType; | 104 | 512 | } |
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 | 48 | NodeAttrFromAST<AST::Component::ComponentSection>() noexcept { |
108 | 48 | return ASTNodeAttr::Comp_Sec_Component; |
109 | 48 | } 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 | 48 | NodeAttrFromAST<AST::Component::ComponentSection>() noexcept { | 108 | 48 | return ASTNodeAttr::Comp_Sec_Component; | 109 | 48 | } |
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 | 237 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::InstanceSection>() noexcept { |
112 | 237 | return ASTNodeAttr::Comp_Sec_Instance; |
113 | 237 | } 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 | 237 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::InstanceSection>() noexcept { | 112 | 237 | return ASTNodeAttr::Comp_Sec_Instance; | 113 | 237 | } |
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 | 126 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::AliasSection>() noexcept { |
116 | 126 | return ASTNodeAttr::Comp_Sec_Alias; |
117 | 126 | } 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 | 126 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::AliasSection>() noexcept { | 116 | 126 | return ASTNodeAttr::Comp_Sec_Alias; | 117 | 126 | } |
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.23k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::TypeSection>() noexcept { |
120 | 1.23k | return ASTNodeAttr::Comp_Sec_Type; |
121 | 1.23k | } 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.23k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::TypeSection>() noexcept { | 120 | 1.23k | return ASTNodeAttr::Comp_Sec_Type; | 121 | 1.23k | } |
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 | 661 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CanonSection>() noexcept { |
124 | 661 | return ASTNodeAttr::Comp_Sec_Canon; |
125 | 661 | } 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 | 661 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CanonSection>() noexcept { | 124 | 661 | return ASTNodeAttr::Comp_Sec_Canon; | 125 | 661 | } |
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 | 62 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::StartSection>() noexcept { |
128 | 62 | return ASTNodeAttr::Comp_Sec_Start; |
129 | 62 | } 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 | 62 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::StartSection>() noexcept { | 128 | 62 | return ASTNodeAttr::Comp_Sec_Start; | 129 | 62 | } |
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 | 160 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ImportSection>() noexcept { |
132 | 160 | return ASTNodeAttr::Comp_Sec_Import; |
133 | 160 | } 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 | 160 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ImportSection>() noexcept { | 132 | 160 | return ASTNodeAttr::Comp_Sec_Import; | 133 | 160 | } |
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 | 127 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ExportSection>() noexcept { |
136 | 127 | return ASTNodeAttr::Comp_Sec_Export; |
137 | 127 | } 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 | 127 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ExportSection>() noexcept { | 136 | 127 | return ASTNodeAttr::Comp_Sec_Export; | 137 | 127 | } |
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 | 195 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreInstance>() noexcept { |
140 | 195 | return ASTNodeAttr::Comp_CoreInstance; |
141 | 195 | } 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 | 195 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreInstance>() noexcept { | 140 | 195 | return ASTNodeAttr::Comp_CoreInstance; | 141 | 195 | } |
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 | 157 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Instance>() noexcept { |
144 | 157 | return ASTNodeAttr::Comp_Instance; |
145 | 157 | } 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 | 157 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Instance>() noexcept { | 144 | 157 | return ASTNodeAttr::Comp_Instance; | 145 | 157 | } |
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.61k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreDefType>() noexcept { |
148 | 1.61k | return ASTNodeAttr::Comp_CoreDefType; |
149 | 1.61k | } 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.61k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreDefType>() noexcept { | 148 | 1.61k | return ASTNodeAttr::Comp_CoreDefType; | 149 | 1.61k | } |
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 | 85 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FuncType>() noexcept { |
156 | 85 | return ASTNodeAttr::Comp_FuncType; |
157 | 85 | } 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 | 85 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FuncType>() noexcept { | 156 | 85 | return ASTNodeAttr::Comp_FuncType; | 157 | 85 | } |
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.96k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ComponentType>() noexcept { |
160 | 5.96k | return ASTNodeAttr::Comp_ComponentType; |
161 | 5.96k | } 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.96k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ComponentType>() noexcept { | 160 | 5.96k | return ASTNodeAttr::Comp_ComponentType; | 161 | 5.96k | } |
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 | 902 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::InstanceType>() noexcept { |
164 | 902 | return ASTNodeAttr::Comp_InstanceType; |
165 | 902 | } 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 | 902 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::InstanceType>() noexcept { | 164 | 902 | return ASTNodeAttr::Comp_InstanceType; | 165 | 902 | } |
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 | 6 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ResourceType>() noexcept { |
168 | 6 | return ASTNodeAttr::Comp_ResourceType; |
169 | 6 | } 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 | 6 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ResourceType>() noexcept { | 168 | 6 | return ASTNodeAttr::Comp_ResourceType; | 169 | 6 | } |
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 | 218 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Canonical>() noexcept { |
172 | 218 | return ASTNodeAttr::Comp_Canonical; |
173 | 218 | } 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 | 218 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Canonical>() noexcept { | 172 | 218 | return ASTNodeAttr::Comp_Canonical; | 173 | 218 | } |
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 | 61 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Start>() noexcept { |
176 | 61 | return ASTNodeAttr::Comp_Start; |
177 | 61 | } 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 | 61 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Start>() noexcept { | 176 | 61 | return ASTNodeAttr::Comp_Start; | 177 | 61 | } |
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 | 71 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::RecordTy>() noexcept { |
184 | 71 | return ASTNodeAttr::Comp_Type_Record; |
185 | 71 | } 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 | 71 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::RecordTy>() noexcept { | 184 | 71 | return ASTNodeAttr::Comp_Type_Record; | 185 | 71 | } |
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 | 131 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::VariantTy>() noexcept { |
188 | 131 | return ASTNodeAttr::Comp_Type_Variant; |
189 | 131 | } 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 | 131 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::VariantTy>() noexcept { | 188 | 131 | return ASTNodeAttr::Comp_Type_Variant; | 189 | 131 | } |
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 | 82 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::TupleTy>() noexcept { |
192 | 82 | return ASTNodeAttr::Comp_Type_Tuple; |
193 | 82 | } 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 | 82 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::TupleTy>() noexcept { | 192 | 82 | return ASTNodeAttr::Comp_Type_Tuple; | 193 | 82 | } |
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 | 55 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FlagsTy>() noexcept { |
196 | 55 | return ASTNodeAttr::Comp_Type_Flags; |
197 | 55 | } 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 | 55 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FlagsTy>() noexcept { | 196 | 55 | return ASTNodeAttr::Comp_Type_Flags; | 197 | 55 | } |
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 | 103 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::EnumTy>() noexcept { |
200 | 103 | return ASTNodeAttr::Comp_Type_Enum; |
201 | 103 | } 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 | 103 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::EnumTy>() noexcept { | 200 | 103 | return ASTNodeAttr::Comp_Type_Enum; | 201 | 103 | } |
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 | 17 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ResultTy>() noexcept { |
204 | 17 | return ASTNodeAttr::Comp_Type_Result; |
205 | 17 | } 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 | 17 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ResultTy>() noexcept { | 204 | 17 | return ASTNodeAttr::Comp_Type_Result; | 205 | 17 | } |
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 | 12 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FutureTy>() noexcept { |
212 | 12 | return ASTNodeAttr::Comp_Type_Future; |
213 | 12 | } 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 | 12 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FutureTy>() noexcept { | 212 | 12 | return ASTNodeAttr::Comp_Type_Future; | 213 | 12 | } |
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.7k | : Conf(Conf), Ser(Conf), IntrinsicsTable(IT) {} |
223 | 26.7k | ~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 | 16.7k | ASTNodeAttr Node) const noexcept { |
261 | 16.7k | spdlog::error(Code); |
262 | 16.7k | spdlog::error(ErrInfo::InfoLoading(Off)); |
263 | 16.7k | spdlog::error(ErrInfo::InfoAST(Node)); |
264 | 16.7k | return Unexpect(Code); |
265 | 16.7k | } |
266 | | inline Unexpected<ErrCode> logNeedProposal(ErrCode Code, Proposal Prop, |
267 | | uint64_t Off, |
268 | 226 | ASTNodeAttr Node) const noexcept { |
269 | 226 | spdlog::error(Code); |
270 | 226 | spdlog::error(ErrInfo::InfoProposal(Prop)); |
271 | 226 | spdlog::error(ErrInfo::InfoLoading(Off)); |
272 | 226 | spdlog::error(ErrInfo::InfoAST(Node)); |
273 | 226 | return Unexpect(Code); |
274 | 226 | } |
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 | 5.02M | Expect<uint32_t> loadVecCnt() { |
303 | | // Read the vector size. |
304 | 5.02M | EXPECTED_TRY(auto Cnt, FMgr.readU32()); |
305 | 5.02M | if (Cnt / 2 > FMgr.getRemainSize()) { |
306 | 1.47k | return Unexpect(ErrCode::Value::IntegerTooLong); |
307 | 1.47k | } |
308 | 5.02M | return Cnt; |
309 | 5.02M | } |
310 | | |
311 | | template <typename ASTType, typename T, typename ElemLoader> |
312 | 4.88M | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { |
313 | | // Read the vector size. |
314 | 4.88M | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { |
315 | 4.88M | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); |
316 | 4.88M | })); |
317 | 4.88M | Vec.resize(VecCnt); |
318 | | |
319 | | // Sequently create the AST node T and read data. |
320 | 8.06M | for (uint32_t I = 0; I < VecCnt; ++I) { |
321 | 3.20M | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { |
322 | 3.20M | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); |
323 | 3.20M | return E; |
324 | 3.20M | })); |
325 | 3.20M | } |
326 | 4.86M | return {}; |
327 | 4.88M | } 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 | 18.1k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 18.1k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 18.1k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 18.1k | })); | 317 | 18.1k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 91.8k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 73.9k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 73.9k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 73.9k | return E; | 324 | 73.9k | })); | 325 | 73.9k | } | 326 | 17.9k | return {}; | 327 | 18.1k | } |
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 | 459k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 459k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 459k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 459k | })); | 317 | 459k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 822k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 363k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 363k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 363k | return E; | 324 | 363k | })); | 325 | 363k | } | 326 | 459k | return {}; | 327 | 459k | } |
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 | 162k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 162k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 162k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 162k | })); | 317 | 162k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 230k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 68.3k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 68.3k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 68.3k | return E; | 324 | 68.3k | })); | 325 | 68.3k | } | 326 | 162k | return {}; | 327 | 162k | } |
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 | 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.05k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 8.05k | })); | 317 | 8.05k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 16.3k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 8.42k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 8.42k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 8.42k | return E; | 324 | 8.42k | })); | 325 | 8.42k | } | 326 | 7.96k | return {}; | 327 | 8.05k | } |
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 | 1.84M | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.84M | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.84M | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.84M | })); | 317 | 1.84M | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 3.70M | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 1.86M | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 1.86M | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 1.86M | return E; | 324 | 1.86M | })); | 325 | 1.86M | } | 326 | 1.84M | return {}; | 327 | 1.84M | } |
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 | 33.7k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 33.7k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 33.7k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 33.7k | })); | 317 | 33.7k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 54.4k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 21.3k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 21.3k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 21.3k | return E; | 324 | 21.3k | })); | 325 | 21.3k | } | 326 | 33.1k | return {}; | 327 | 33.7k | } |
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 | 22.2k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 22.2k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 22.1k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 22.1k | })); | 317 | 22.1k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 31.0k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 8.92k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 8.92k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 8.92k | return E; | 324 | 8.92k | })); | 325 | 8.92k | } | 326 | 22.1k | return {}; | 327 | 22.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 | 7.16k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 7.16k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 7.15k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 7.15k | })); | 317 | 7.15k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 9.25k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 2.16k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 2.16k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 2.16k | return E; | 324 | 2.16k | })); | 325 | 2.16k | } | 326 | 7.09k | return {}; | 327 | 7.15k | } |
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 | 56.6k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 56.6k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 56.6k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 56.6k | })); | 317 | 56.6k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 57.0k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 416 | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 416 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 416 | return E; | 324 | 416 | })); | 325 | 416 | } | 326 | 56.6k | return {}; | 327 | 56.6k | } |
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 | 17.2k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 17.2k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 17.1k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 17.1k | })); | 317 | 17.1k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 22.8k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 5.76k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 5.76k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 5.76k | return E; | 324 | 5.76k | })); | 325 | 5.76k | } | 326 | 17.0k | return {}; | 327 | 17.1k | } |
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 | 5.26k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 5.26k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 5.23k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 5.23k | })); | 317 | 5.23k | 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 | 6.78k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 6.78k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 6.78k | return E; | 324 | 6.78k | })); | 325 | 6.78k | } | 326 | 5.17k | return {}; | 327 | 5.23k | } |
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 | 63.0k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 63.0k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 63.0k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 63.0k | })); | 317 | 63.0k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 65.8k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 2.89k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 2.89k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 2.89k | return E; | 324 | 2.89k | })); | 325 | 2.89k | } | 326 | 62.9k | return {}; | 327 | 63.0k | } |
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 | 10.1k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 10.1k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 10.0k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 10.0k | })); | 317 | 10.0k | 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 | 9.72k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 9.72k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 9.72k | return E; | 324 | 9.72k | })); | 325 | 9.72k | } | 326 | 9.97k | return {}; | 327 | 10.0k | } |
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 | 1.17k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.17k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.14k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.14k | })); | 317 | 1.14k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 11.0k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 9.87k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 9.87k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 9.87k | return E; | 324 | 9.87k | })); | 325 | 9.87k | } | 326 | 1.13k | return {}; | 327 | 1.14k | } |
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 | 1.63k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.63k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.60k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.60k | })); | 317 | 1.60k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 135k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 134k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 134k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 134k | return E; | 324 | 134k | })); | 325 | 134k | } | 326 | 1.57k | return {}; | 327 | 1.60k | } |
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 | 167k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 167k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 167k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 167k | })); | 317 | 167k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 171k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 5.64k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 5.64k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 5.64k | return E; | 324 | 5.64k | })); | 325 | 5.64k | } | 326 | 166k | return {}; | 327 | 167k | } |
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 | 14.3k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 14.3k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 14.3k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 14.3k | })); | 317 | 14.3k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 87.2k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 73.0k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 73.0k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 73.0k | return E; | 324 | 73.0k | })); | 325 | 73.0k | } | 326 | 14.2k | return {}; | 327 | 14.3k | } |
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 | 1.16M | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.16M | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.16M | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.16M | })); | 317 | 1.16M | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 1.17M | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 10.5k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 10.5k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 10.5k | return E; | 324 | 10.5k | })); | 325 | 10.5k | } | 326 | 1.16M | return {}; | 327 | 1.16M | } |
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 | 558k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 558k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 558k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 558k | })); | 317 | 558k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 560k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 2.30k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 2.30k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 2.30k | return E; | 324 | 2.30k | })); | 325 | 2.30k | } | 326 | 557k | return {}; | 327 | 558k | } |
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 | 1.35k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.35k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.33k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.33k | })); | 317 | 1.33k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 4.41k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 3.12k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 3.12k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 3.12k | return E; | 324 | 3.12k | })); | 325 | 3.12k | } | 326 | 1.28k | return {}; | 327 | 1.33k | } |
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 | 1.15k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.15k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.12k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.12k | })); | 317 | 1.12k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 2.56k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 1.52k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 1.52k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 1.52k | return E; | 324 | 1.52k | })); | 325 | 1.52k | } | 326 | 1.03k | return {}; | 327 | 1.12k | } |
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 | 1.28k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.28k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.25k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.25k | })); | 317 | 1.25k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 3.82k | 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 | 1.20k | return {}; | 327 | 1.25k | } |
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 | 682 | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 682 | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 660 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 660 | })); | 317 | 660 | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 2.14k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 1.52k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 1.52k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 1.52k | return E; | 324 | 1.52k | })); | 325 | 1.52k | } | 326 | 627 | return {}; | 327 | 660 | } |
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.69k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.69k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.65k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.65k | })); | 317 | 1.65k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 8.68k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 7.09k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 7.09k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 7.09k | return E; | 324 | 7.09k | })); | 325 | 7.09k | } | 326 | 1.58k | return {}; | 327 | 1.65k | } |
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 | 1.79k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.79k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.73k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.73k | })); | 317 | 1.73k | 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 | 18.1k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 18.1k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 18.1k | return E; | 324 | 18.1k | })); | 325 | 18.1k | } | 326 | 1.49k | return {}; | 327 | 1.73k | } |
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.82k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 4.82k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 4.78k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 4.78k | })); | 317 | 4.78k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 385k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 380k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 380k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 380k | return E; | 324 | 380k | })); | 325 | 380k | } | 326 | 4.72k | return {}; | 327 | 4.78k | } |
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.42k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.42k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.38k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.38k | })); | 317 | 1.38k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 3.84k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 2.66k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 2.66k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 2.66k | return E; | 324 | 2.66k | })); | 325 | 2.66k | } | 326 | 1.17k | return {}; | 327 | 1.38k | } |
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.79k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.79k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.76k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.76k | })); | 317 | 1.76k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 5.81k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 4.15k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 4.15k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 4.15k | return E; | 324 | 4.15k | })); | 325 | 4.15k | } | 326 | 1.66k | return {}; | 327 | 1.76k | } |
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.37k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 2.37k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 2.33k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 2.33k | })); | 317 | 2.33k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 3.79k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 2.87k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 2.87k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 2.87k | return E; | 324 | 2.87k | })); | 325 | 2.87k | } | 326 | 922 | return {}; | 327 | 2.33k | } |
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.49k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.49k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.44k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.44k | })); | 317 | 1.44k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 21.3k | 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 | 1.28k | return {}; | 327 | 1.44k | } |
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.25k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 4.25k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 4.20k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 4.20k | })); | 317 | 4.20k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 15.4k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 15.0k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 15.0k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 15.0k | return E; | 324 | 15.0k | })); | 325 | 15.0k | } | 326 | 366 | return {}; | 327 | 4.20k | } |
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 | 5.80k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 5.80k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 5.75k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 5.75k | })); | 317 | 5.75k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 25.1k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 21.3k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 21.3k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 21.3k | return E; | 324 | 21.3k | })); | 325 | 21.3k | } | 326 | 3.77k | return {}; | 327 | 5.75k | } |
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 | 3.35k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 3.35k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 3.31k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 3.31k | })); | 317 | 3.31k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 9.05k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 8.25k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 8.25k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 8.25k | return E; | 324 | 8.25k | })); | 325 | 8.25k | } | 326 | 792 | return {}; | 327 | 3.31k | } |
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 | 269 | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 269 | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 226 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 226 | })); | 317 | 226 | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 3.62k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 3.44k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 3.44k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 3.44k | return E; | 324 | 3.44k | })); | 325 | 3.44k | } | 326 | 174 | return {}; | 327 | 226 | } |
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.82k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 2.82k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 2.75k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 2.75k | })); | 317 | 2.75k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 8.09k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 5.54k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 5.54k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 5.54k | return E; | 324 | 5.54k | })); | 325 | 5.54k | } | 326 | 2.54k | return {}; | 327 | 2.75k | } |
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 | 200k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 200k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 200k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 200k | })); | 317 | 200k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 202k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 1.49k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 1.49k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 1.49k | return E; | 324 | 1.49k | })); | 325 | 1.49k | } | 326 | 200k | return {}; | 327 | 200k | } |
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.40k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.40k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.38k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.38k | })); | 317 | 1.38k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 9.64k | 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 | 1.35k | return {}; | 327 | 1.38k | } |
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 | 25.2k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 25.2k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 25.2k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 25.2k | })); | 317 | 25.2k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 49.7k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 24.7k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 24.7k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 24.7k | return E; | 324 | 24.7k | })); | 325 | 24.7k | } | 326 | 25.0k | return {}; | 327 | 25.2k | } |
|
328 | | |
329 | | template <typename T, typename ElemLoader> |
330 | 4.71M | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { |
331 | 4.71M | Sec.setStartOffset(FMgr.getOffset()); |
332 | | // Load the section size first. |
333 | 4.71M | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { |
334 | 4.71M | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); |
335 | 4.71M | })); |
336 | | |
337 | | // Check the remain file/buffer size. |
338 | 4.71M | if (unlikely(FMgr.getRemainSize() < SecSize)) { |
339 | 924 | return logLoadError(ErrCode::Value::LengthOutOfBounds, |
340 | 924 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); |
341 | 924 | } |
342 | | |
343 | | // Set the section size. |
344 | 4.71M | Sec.setContentSize(SecSize); |
345 | 4.71M | auto StartOffset = FMgr.getOffset(); |
346 | | |
347 | | // Invoke the callback function. |
348 | 4.71M | EXPECTED_TRY(Func()); |
349 | | |
350 | | // Check the read size matches the section size. |
351 | 4.69M | auto EndOffset = FMgr.getOffset(); |
352 | 4.69M | if (EndOffset - StartOffset != Sec.getContentSize()) { |
353 | 692 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, |
354 | 692 | NodeAttrFromAST<T>()); |
355 | 692 | } |
356 | 4.69M | return {}; |
357 | 4.69M | } 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 | 5.34k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 5.34k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 5.34k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 5.33k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 5.33k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 5.33k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 28 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 28 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 28 | } | 342 | | | 343 | | // Set the section size. | 344 | 5.30k | Sec.setContentSize(SecSize); | 345 | 5.30k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 5.30k | 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 | 14 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 14 | NodeAttrFromAST<T>()); | 355 | 14 | } | 356 | 5.19k | return {}; | 357 | 5.20k | } |
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 | 18.2k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 18.2k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 18.2k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 18.2k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 18.2k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 18.2k | 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 | 18.1k | Sec.setContentSize(SecSize); | 345 | 18.1k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 18.1k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 17.9k | auto EndOffset = FMgr.getOffset(); | 352 | 17.9k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 29 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 29 | NodeAttrFromAST<T>()); | 355 | 29 | } | 356 | 17.8k | return {}; | 357 | 17.9k | } |
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 | 459k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 459k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 459k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 459k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 459k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 459k | 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 | 459k | Sec.setContentSize(SecSize); | 345 | 459k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 459k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 459k | auto EndOffset = FMgr.getOffset(); | 352 | 459k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 18 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 18 | NodeAttrFromAST<T>()); | 355 | 18 | } | 356 | 459k | return {}; | 357 | 459k | } |
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.14k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 7.14k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 7.14k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 7.13k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 7.13k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 7.13k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 28 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 28 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 28 | } | 342 | | | 343 | | // Set the section size. | 344 | 7.10k | Sec.setContentSize(SecSize); | 345 | 7.10k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 7.10k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 5.94k | auto EndOffset = FMgr.getOffset(); | 352 | 5.94k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 12 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 12 | NodeAttrFromAST<T>()); | 355 | 12 | } | 356 | 5.93k | return {}; | 357 | 5.94k | } |
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 | 162k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 162k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 162k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 162k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 162k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 162k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 5 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 5 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 5 | } | 342 | | | 343 | | // Set the section size. | 344 | 162k | Sec.setContentSize(SecSize); | 345 | 162k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 162k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 162k | auto EndOffset = FMgr.getOffset(); | 352 | 162k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 11 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 11 | NodeAttrFromAST<T>()); | 355 | 11 | } | 356 | 162k | return {}; | 357 | 162k | } |
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 | 8.08k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 8.08k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 8.08k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 8.08k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 8.08k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 8.08k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 10 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 10 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 10 | } | 342 | | | 343 | | // Set the section size. | 344 | 8.07k | Sec.setContentSize(SecSize); | 345 | 8.07k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 8.07k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 7.96k | auto EndOffset = FMgr.getOffset(); | 352 | 7.96k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 10 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 10 | NodeAttrFromAST<T>()); | 355 | 10 | } | 356 | 7.95k | return {}; | 357 | 7.96k | } |
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 | 1.84M | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 1.84M | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 1.84M | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 1.84M | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 1.84M | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 1.84M | 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 | 1.84M | Sec.setContentSize(SecSize); | 345 | 1.84M | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 1.84M | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 1.84M | auto EndOffset = FMgr.getOffset(); | 352 | 1.84M | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 48 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 48 | NodeAttrFromAST<T>()); | 355 | 48 | } | 356 | 1.84M | return {}; | 357 | 1.84M | } |
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 | 33.7k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 33.7k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 33.7k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 33.7k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 33.7k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 33.7k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 19 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 19 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 19 | } | 342 | | | 343 | | // Set the section size. | 344 | 33.7k | Sec.setContentSize(SecSize); | 345 | 33.7k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 33.7k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 33.1k | auto EndOffset = FMgr.getOffset(); | 352 | 33.1k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 32 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 32 | NodeAttrFromAST<T>()); | 355 | 32 | } | 356 | 33.0k | return {}; | 357 | 33.1k | } |
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 | 1.67k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 1.67k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 1.67k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 1.66k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 1.66k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 1.66k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 30 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 30 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 30 | } | 342 | | | 343 | | // Set the section size. | 344 | 1.63k | Sec.setContentSize(SecSize); | 345 | 1.63k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 1.63k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 1.57k | auto EndOffset = FMgr.getOffset(); | 352 | 1.57k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 27 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 27 | NodeAttrFromAST<T>()); | 355 | 27 | } | 356 | 1.54k | return {}; | 357 | 1.57k | } |
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 | 22.2k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 22.2k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 22.2k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 22.2k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 22.2k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 22.2k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 28 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 28 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 28 | } | 342 | | | 343 | | // Set the section size. | 344 | 22.2k | Sec.setContentSize(SecSize); | 345 | 22.2k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 22.2k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 22.1k | auto EndOffset = FMgr.getOffset(); | 352 | 22.1k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 21 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 21 | NodeAttrFromAST<T>()); | 355 | 21 | } | 356 | 22.0k | return {}; | 357 | 22.1k | } |
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 | 7.19k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 7.19k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 7.19k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 7.19k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 7.19k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 7.19k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 28 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 28 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 28 | } | 342 | | | 343 | | // Set the section size. | 344 | 7.16k | Sec.setContentSize(SecSize); | 345 | 7.16k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 7.16k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 7.09k | auto EndOffset = FMgr.getOffset(); | 352 | 7.09k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 24 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 24 | NodeAttrFromAST<T>()); | 355 | 24 | } | 356 | 7.07k | return {}; | 357 | 7.09k | } |
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 | 2.10M | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 2.10M | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 2.10M | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 2.10M | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 2.10M | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 2.10M | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 101 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 101 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 101 | } | 342 | | | 343 | | // Set the section size. | 344 | 2.10M | Sec.setContentSize(SecSize); | 345 | 2.10M | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 2.10M | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 2.10M | auto EndOffset = FMgr.getOffset(); | 352 | 2.10M | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 0 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 0 | NodeAttrFromAST<T>()); | 355 | 0 | } | 356 | 2.10M | return {}; | 357 | 2.10M | } |
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 | 6.71k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 6.71k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 6.71k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 6.71k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 6.71k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 6.71k | 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 | 6.66k | Sec.setContentSize(SecSize); | 345 | 6.66k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 6.66k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 6.20k | auto EndOffset = FMgr.getOffset(); | 352 | 6.20k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 32 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 32 | NodeAttrFromAST<T>()); | 355 | 32 | } | 356 | 6.16k | return {}; | 357 | 6.20k | } |
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 | 1.84k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 1.84k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 1.84k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 1.84k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 1.84k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 1.84k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 53 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 53 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 53 | } | 342 | | | 343 | | // Set the section size. | 344 | 1.79k | Sec.setContentSize(SecSize); | 345 | 1.79k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 1.79k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 1.49k | auto EndOffset = FMgr.getOffset(); | 352 | 1.49k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 28 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 28 | NodeAttrFromAST<T>()); | 355 | 28 | } | 356 | 1.46k | return {}; | 357 | 1.49k | } |
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.87k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 4.87k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 4.87k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 4.86k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 4.86k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 4.86k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 41 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 41 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 41 | } | 342 | | | 343 | | // Set the section size. | 344 | 4.82k | Sec.setContentSize(SecSize); | 345 | 4.82k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 4.82k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 4.72k | auto EndOffset = FMgr.getOffset(); | 352 | 4.72k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 56 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 56 | NodeAttrFromAST<T>()); | 355 | 56 | } | 356 | 4.66k | return {}; | 357 | 4.72k | } |
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.48k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 1.48k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 1.48k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 1.47k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 1.47k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 1.47k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 47 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 47 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 47 | } | 342 | | | 343 | | // Set the section size. | 344 | 1.42k | Sec.setContentSize(SecSize); | 345 | 1.42k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 1.42k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 1.17k | auto EndOffset = FMgr.getOffset(); | 352 | 1.17k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 55 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 55 | NodeAttrFromAST<T>()); | 355 | 55 | } | 356 | 1.12k | return {}; | 357 | 1.17k | } |
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.84k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 1.84k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 1.84k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 1.83k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 1.83k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 1.83k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 41 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 41 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 41 | } | 342 | | | 343 | | // Set the section size. | 344 | 1.79k | Sec.setContentSize(SecSize); | 345 | 1.79k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 1.79k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 1.66k | auto EndOffset = FMgr.getOffset(); | 352 | 1.66k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 11 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 11 | NodeAttrFromAST<T>()); | 355 | 11 | } | 356 | 1.65k | return {}; | 357 | 1.66k | } |
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.42k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 2.42k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 2.42k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 2.41k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 2.41k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 2.41k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 41 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 41 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 41 | } | 342 | | | 343 | | // Set the section size. | 344 | 2.37k | Sec.setContentSize(SecSize); | 345 | 2.37k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 2.37k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 922 | auto EndOffset = FMgr.getOffset(); | 352 | 922 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 57 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 57 | NodeAttrFromAST<T>()); | 355 | 57 | } | 356 | 865 | return {}; | 357 | 922 | } |
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.54k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 1.54k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 1.54k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 1.54k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 1.54k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 1.54k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 46 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 46 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 46 | } | 342 | | | 343 | | // Set the section size. | 344 | 1.49k | Sec.setContentSize(SecSize); | 345 | 1.49k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 1.49k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 1.28k | auto EndOffset = FMgr.getOffset(); | 352 | 1.28k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 45 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 45 | NodeAttrFromAST<T>()); | 355 | 45 | } | 356 | 1.24k | return {}; | 357 | 1.28k | } |
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 | 244 | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 244 | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 244 | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 238 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 238 | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 238 | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 42 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 42 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 42 | } | 342 | | | 343 | | // Set the section size. | 344 | 196 | Sec.setContentSize(SecSize); | 345 | 196 | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 196 | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 189 | auto EndOffset = FMgr.getOffset(); | 352 | 189 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 17 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 17 | NodeAttrFromAST<T>()); | 355 | 17 | } | 356 | 172 | return {}; | 357 | 189 | } |
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.29k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 4.29k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 4.29k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 4.29k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 4.29k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 4.29k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 38 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 38 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 38 | } | 342 | | | 343 | | // Set the section size. | 344 | 4.25k | Sec.setContentSize(SecSize); | 345 | 4.25k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 4.25k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 366 | auto EndOffset = FMgr.getOffset(); | 352 | 366 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 37 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 37 | NodeAttrFromAST<T>()); | 355 | 37 | } | 356 | 329 | return {}; | 357 | 366 | } |
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 | 5.84k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 5.84k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 5.84k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 5.84k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 5.84k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 5.84k | 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 | 5.80k | Sec.setContentSize(SecSize); | 345 | 5.80k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 5.80k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 3.77k | auto EndOffset = FMgr.getOffset(); | 352 | 3.77k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 14 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 14 | NodeAttrFromAST<T>()); | 355 | 14 | } | 356 | 3.76k | return {}; | 357 | 3.77k | } |
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.41k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 3.41k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 3.41k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 3.40k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 3.40k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 3.40k | 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 | 3.35k | Sec.setContentSize(SecSize); | 345 | 3.35k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 3.35k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 792 | auto EndOffset = FMgr.getOffset(); | 352 | 792 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 45 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 45 | NodeAttrFromAST<T>()); | 355 | 45 | } | 356 | 747 | return {}; | 357 | 792 | } |
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 | 454 | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 454 | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 454 | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 451 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 451 | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 451 | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 45 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 45 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 45 | } | 342 | | | 343 | | // Set the section size. | 344 | 406 | Sec.setContentSize(SecSize); | 345 | 406 | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 406 | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 402 | auto EndOffset = FMgr.getOffset(); | 352 | 402 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 23 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 23 | NodeAttrFromAST<T>()); | 355 | 23 | } | 356 | 379 | return {}; | 357 | 402 | } |
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 | 320 | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 320 | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 320 | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 318 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 318 | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 318 | 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 | 269 | Sec.setContentSize(SecSize); | 345 | 269 | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 269 | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 174 | auto EndOffset = FMgr.getOffset(); | 352 | 174 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 26 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 26 | NodeAttrFromAST<T>()); | 355 | 26 | } | 356 | 148 | return {}; | 357 | 174 | } |
|
358 | | |
359 | | template <typename T, typename ElemLoader> |
360 | 2.58M | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { |
361 | 2.58M | return loadVec<T>(Sec.getContent(), std::move(Func)); |
362 | 2.58M | } 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 | 18.1k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 18.1k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 18.1k | } |
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 | 459k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 459k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 459k | } |
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 | 162k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 162k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 162k | } |
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 | 8.07k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 8.07k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 8.07k | } |
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 | 1.84M | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 1.84M | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 1.84M | } |
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 | 33.7k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 33.7k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 33.7k | } |
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 | 22.2k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 22.2k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 22.2k | } |
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 | 7.16k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 7.16k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 7.16k | } |
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 | 1.79k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 1.79k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 1.79k | } |
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.82k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 4.82k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 4.82k | } |
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.42k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 1.42k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 1.42k | } |
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.79k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 1.79k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 1.79k | } |
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.37k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 2.37k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 2.37k | } |
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.49k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 1.49k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 1.49k | } |
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.25k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 4.25k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 4.25k | } |
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 | 5.80k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 5.80k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 5.80k | } |
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 | 3.35k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 3.35k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 3.35k | } |
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 | 269 | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 269 | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 269 | } |
|
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 | 37.0k | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { |
488 | 37.0k | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { |
489 | 37.0k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); |
490 | 37.0k | })); |
491 | 37.0k | switch (Flag) { |
492 | 7.62k | case 0x01: { |
493 | 7.62k | T V; |
494 | 7.62k | EXPECTED_TRY(F(V).map_error([](auto E) { |
495 | 7.60k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); |
496 | 7.60k | return E; |
497 | 7.60k | })); |
498 | 7.60k | return std::optional<T>(V); |
499 | 7.62k | } |
500 | 29.3k | case 0x00: |
501 | 29.3k | return std::nullopt; |
502 | 31 | default: |
503 | 31 | return logLoadError(ErrCode::Value::MalformedDefType, |
504 | 31 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); |
505 | 37.0k | } |
506 | 37.0k | } 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 | 23.1k | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { | 488 | 23.1k | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { | 489 | 23.1k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 490 | 23.1k | })); | 491 | 23.1k | switch (Flag) { | 492 | 1.72k | case 0x01: { | 493 | 1.72k | T V; | 494 | 1.72k | EXPECTED_TRY(F(V).map_error([](auto E) { | 495 | 1.72k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 496 | 1.72k | return E; | 497 | 1.72k | })); | 498 | 1.72k | return std::optional<T>(V); | 499 | 1.72k | } | 500 | 21.4k | case 0x00: | 501 | 21.4k | return std::nullopt; | 502 | 4 | default: | 503 | 4 | return logLoadError(ErrCode::Value::MalformedDefType, | 504 | 4 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 505 | 23.1k | } | 506 | 23.1k | } |
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.48k | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { | 488 | 1.48k | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { | 489 | 1.48k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 490 | 1.48k | })); | 491 | 1.48k | switch (Flag) { | 492 | 790 | case 0x01: { | 493 | 790 | T V; | 494 | 790 | EXPECTED_TRY(F(V).map_error([](auto E) { | 495 | 788 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 496 | 788 | return E; | 497 | 788 | })); | 498 | 788 | return std::optional<T>(V); | 499 | 790 | } | 500 | 682 | case 0x00: | 501 | 682 | return std::nullopt; | 502 | 11 | default: | 503 | 11 | return logLoadError(ErrCode::Value::MalformedDefType, | 504 | 11 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 505 | 1.48k | } | 506 | 1.48k | } |
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 | 7.67k | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { | 488 | 7.67k | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { | 489 | 7.67k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 490 | 7.67k | })); | 491 | 7.67k | switch (Flag) { | 492 | 3.78k | case 0x01: { | 493 | 3.78k | T V; | 494 | 3.78k | EXPECTED_TRY(F(V).map_error([](auto E) { | 495 | 3.78k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 496 | 3.78k | return E; | 497 | 3.78k | })); | 498 | 3.78k | return std::optional<T>(V); | 499 | 3.78k | } | 500 | 3.87k | case 0x00: | 501 | 3.87k | return std::nullopt; | 502 | 7 | default: | 503 | 7 | return logLoadError(ErrCode::Value::MalformedDefType, | 504 | 7 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 505 | 7.67k | } | 506 | 7.67k | } |
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 | 1.49k | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { | 488 | 1.49k | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { | 489 | 1.49k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 490 | 1.49k | })); | 491 | 1.49k | switch (Flag) { | 492 | 799 | case 0x01: { | 493 | 799 | T V; | 494 | 799 | EXPECTED_TRY(F(V).map_error([](auto E) { | 495 | 795 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 496 | 795 | return E; | 497 | 795 | })); | 498 | 795 | return std::optional<T>(V); | 499 | 799 | } | 500 | 691 | case 0x00: | 501 | 691 | return std::nullopt; | 502 | 1 | default: | 503 | 1 | return logLoadError(ErrCode::Value::MalformedDefType, | 504 | 1 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 505 | 1.49k | } | 506 | 1.49k | } |
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.09k | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { | 488 | 1.09k | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { | 489 | 1.09k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 490 | 1.09k | })); | 491 | 1.09k | switch (Flag) { | 492 | 287 | case 0x01: { | 493 | 287 | T V; | 494 | 287 | EXPECTED_TRY(F(V).map_error([](auto E) { | 495 | 280 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 496 | 280 | return E; | 497 | 280 | })); | 498 | 280 | return std::optional<T>(V); | 499 | 287 | } | 500 | 801 | case 0x00: | 501 | 801 | return std::nullopt; | 502 | 2 | default: | 503 | 2 | return logLoadError(ErrCode::Value::MalformedDefType, | 504 | 2 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 505 | 1.09k | } | 506 | 1.09k | } |
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.11k | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { | 488 | 2.11k | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { | 489 | 2.11k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 490 | 2.11k | })); | 491 | 2.11k | switch (Flag) { | 492 | 241 | case 0x01: { | 493 | 241 | T V; | 494 | 241 | EXPECTED_TRY(F(V).map_error([](auto E) { | 495 | 238 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 496 | 238 | return E; | 497 | 238 | })); | 498 | 238 | return std::optional<T>(V); | 499 | 241 | } | 500 | 1.86k | case 0x00: | 501 | 1.86k | return std::nullopt; | 502 | 6 | default: | 503 | 6 | return logLoadError(ErrCode::Value::MalformedDefType, | 504 | 6 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 505 | 2.11k | } | 506 | 2.11k | } |
|
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 | 2.25M | explicit ComponentNestGuard(uint32_t &L) noexcept : Level(L) { ++Level; } |
528 | 2.25M | ~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 |