/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 | 125 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::CustomSection>() noexcept { |
38 | 125 | return ASTNodeAttr::Sec_Custom; |
39 | 125 | } 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 | 125 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::CustomSection>() noexcept { | 38 | 125 | return ASTNodeAttr::Sec_Custom; | 39 | 125 | } |
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 | 70 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TypeSection>() noexcept { |
41 | 70 | return ASTNodeAttr::Sec_Type; |
42 | 70 | } 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 | 70 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TypeSection>() noexcept { | 41 | 70 | return ASTNodeAttr::Sec_Type; | 42 | 70 | } |
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 | 330 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ImportSection>() noexcept { |
44 | 330 | return ASTNodeAttr::Sec_Import; |
45 | 330 | } 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 | 330 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ImportSection>() noexcept { | 44 | 330 | return ASTNodeAttr::Sec_Import; | 45 | 330 | } |
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 | 176 | inline ASTNodeAttr NodeAttrFromAST<AST::FunctionSection>() noexcept { |
48 | 176 | return ASTNodeAttr::Sec_Function; |
49 | 176 | } 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 | 176 | inline ASTNodeAttr NodeAttrFromAST<AST::FunctionSection>() noexcept { | 48 | 176 | return ASTNodeAttr::Sec_Function; | 49 | 176 | } |
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 | 328 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TableSection>() noexcept { |
51 | 328 | return ASTNodeAttr::Sec_Table; |
52 | 328 | } 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 | 328 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TableSection>() noexcept { | 51 | 328 | return ASTNodeAttr::Sec_Table; | 52 | 328 | } |
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 | 159 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::MemorySection>() noexcept { |
54 | 159 | return ASTNodeAttr::Sec_Memory; |
55 | 159 | } 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 | 159 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::MemorySection>() noexcept { | 54 | 159 | return ASTNodeAttr::Sec_Memory; | 55 | 159 | } |
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.32k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::GlobalSection>() noexcept { |
57 | 1.32k | return ASTNodeAttr::Sec_Global; |
58 | 1.32k | } 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.32k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::GlobalSection>() noexcept { | 57 | 1.32k | return ASTNodeAttr::Sec_Global; | 58 | 1.32k | } |
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 | 273 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ExportSection>() noexcept { |
60 | 273 | return ASTNodeAttr::Sec_Export; |
61 | 273 | } 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 | 273 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ExportSection>() noexcept { | 60 | 273 | return ASTNodeAttr::Sec_Export; | 61 | 273 | } |
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 | 56 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::StartSection>() noexcept { |
63 | 56 | return ASTNodeAttr::Sec_Start; |
64 | 56 | } 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 | 56 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::StartSection>() noexcept { | 63 | 56 | return ASTNodeAttr::Sec_Start; | 64 | 56 | } |
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.51k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ElementSection>() noexcept { |
66 | 3.51k | return ASTNodeAttr::Sec_Element; |
67 | 3.51k | } 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.51k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ElementSection>() noexcept { | 66 | 3.51k | return ASTNodeAttr::Sec_Element; | 67 | 3.51k | } |
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 | 1.86k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::CodeSection>() noexcept { |
69 | 1.86k | return ASTNodeAttr::Sec_Code; |
70 | 1.86k | } 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 | 1.86k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::CodeSection>() noexcept { | 69 | 1.86k | return ASTNodeAttr::Sec_Code; | 70 | 1.86k | } |
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.43k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::DataSection>() noexcept { |
72 | 2.43k | return ASTNodeAttr::Sec_Data; |
73 | 2.43k | } 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.43k | template <> inline ASTNodeAttr NodeAttrFromAST<AST::DataSection>() noexcept { | 72 | 2.43k | return ASTNodeAttr::Sec_Data; | 73 | 2.43k | } |
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 | 62 | inline ASTNodeAttr NodeAttrFromAST<AST::DataCountSection>() noexcept { |
76 | 62 | return ASTNodeAttr::Sec_DataCount; |
77 | 62 | } 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 | 62 | inline ASTNodeAttr NodeAttrFromAST<AST::DataCountSection>() noexcept { | 76 | 62 | return ASTNodeAttr::Sec_DataCount; | 77 | 62 | } |
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 | 134 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TagSection>() noexcept { |
79 | 134 | return ASTNodeAttr::Sec_Tag; |
80 | 134 | } 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 | 134 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::TagSection>() noexcept { | 79 | 134 | return ASTNodeAttr::Sec_Tag; | 80 | 134 | } |
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 | 138 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::SubType>() noexcept { |
82 | 138 | return ASTNodeAttr::Type_Rec; |
83 | 138 | } 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 | 138 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::SubType>() noexcept { | 82 | 138 | return ASTNodeAttr::Type_Rec; | 83 | 138 | } |
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 | 163 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::FunctionType>() noexcept { |
85 | 163 | return ASTNodeAttr::Type_Function; |
86 | 163 | } 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 | 163 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::FunctionType>() noexcept { | 85 | 163 | return ASTNodeAttr::Type_Function; | 86 | 163 | } |
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 | 251 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ElementSegment>() noexcept { |
88 | 251 | return ASTNodeAttr::Seg_Element; |
89 | 251 | } 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 | 251 | template <> inline ASTNodeAttr NodeAttrFromAST<AST::ElementSegment>() noexcept { | 88 | 251 | return ASTNodeAttr::Seg_Element; | 89 | 251 | } |
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 | 43 | NodeAttrFromAST<AST::Component::CoreModuleSection>() noexcept { |
94 | 43 | return ASTNodeAttr::Comp_Sec_CoreMod; |
95 | 43 | } 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 | 43 | NodeAttrFromAST<AST::Component::CoreModuleSection>() noexcept { | 94 | 43 | return ASTNodeAttr::Comp_Sec_CoreMod; | 95 | 43 | } |
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 | 238 | NodeAttrFromAST<AST::Component::CoreInstanceSection>() noexcept { |
99 | 238 | return ASTNodeAttr::Comp_Sec_CoreInstance; |
100 | 238 | } 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 | 238 | NodeAttrFromAST<AST::Component::CoreInstanceSection>() noexcept { | 99 | 238 | return ASTNodeAttr::Comp_Sec_CoreInstance; | 100 | 238 | } |
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 | 401 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreTypeSection>() noexcept { |
103 | 401 | return ASTNodeAttr::Comp_Sec_CoreType; |
104 | 401 | } 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 | 401 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreTypeSection>() noexcept { | 103 | 401 | return ASTNodeAttr::Comp_Sec_CoreType; | 104 | 401 | } |
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 | 37 | NodeAttrFromAST<AST::Component::ComponentSection>() noexcept { |
108 | 37 | return ASTNodeAttr::Comp_Sec_Component; |
109 | 37 | } 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 | 37 | NodeAttrFromAST<AST::Component::ComponentSection>() noexcept { | 108 | 37 | return ASTNodeAttr::Comp_Sec_Component; | 109 | 37 | } |
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 | 169 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::InstanceSection>() noexcept { |
112 | 169 | return ASTNodeAttr::Comp_Sec_Instance; |
113 | 169 | } 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 | 169 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::InstanceSection>() noexcept { | 112 | 169 | return ASTNodeAttr::Comp_Sec_Instance; | 113 | 169 | } |
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 | 116 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::AliasSection>() noexcept { |
116 | 116 | return ASTNodeAttr::Comp_Sec_Alias; |
117 | 116 | } 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 | 116 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::AliasSection>() noexcept { | 116 | 116 | return ASTNodeAttr::Comp_Sec_Alias; | 117 | 116 | } |
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 | 937 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::TypeSection>() noexcept { |
120 | 937 | return ASTNodeAttr::Comp_Sec_Type; |
121 | 937 | } 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 | 937 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::TypeSection>() noexcept { | 120 | 937 | return ASTNodeAttr::Comp_Sec_Type; | 121 | 937 | } |
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 | 538 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CanonSection>() noexcept { |
124 | 538 | return ASTNodeAttr::Comp_Sec_Canon; |
125 | 538 | } 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 | 538 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CanonSection>() noexcept { | 124 | 538 | return ASTNodeAttr::Comp_Sec_Canon; | 125 | 538 | } |
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 | 53 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::StartSection>() noexcept { |
128 | 53 | return ASTNodeAttr::Comp_Sec_Start; |
129 | 53 | } 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 | 53 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::StartSection>() noexcept { | 128 | 53 | return ASTNodeAttr::Comp_Sec_Start; | 129 | 53 | } |
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 | 128 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ImportSection>() noexcept { |
132 | 128 | return ASTNodeAttr::Comp_Sec_Import; |
133 | 128 | } 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 | 128 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ImportSection>() noexcept { | 132 | 128 | return ASTNodeAttr::Comp_Sec_Import; | 133 | 128 | } |
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 | 95 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ExportSection>() noexcept { |
136 | 95 | return ASTNodeAttr::Comp_Sec_Export; |
137 | 95 | } 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 | 95 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ExportSection>() noexcept { | 136 | 95 | return ASTNodeAttr::Comp_Sec_Export; | 137 | 95 | } |
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 | 140 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreInstance>() noexcept { |
140 | 140 | return ASTNodeAttr::Comp_CoreInstance; |
141 | 140 | } 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 | 140 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreInstance>() noexcept { | 140 | 140 | return ASTNodeAttr::Comp_CoreInstance; | 141 | 140 | } |
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 | 106 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Instance>() noexcept { |
144 | 106 | return ASTNodeAttr::Comp_Instance; |
145 | 106 | } 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 | 106 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Instance>() noexcept { | 144 | 106 | return ASTNodeAttr::Comp_Instance; | 145 | 106 | } |
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.74k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreDefType>() noexcept { |
148 | 1.74k | return ASTNodeAttr::Comp_CoreDefType; |
149 | 1.74k | } 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.74k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::CoreDefType>() noexcept { | 148 | 1.74k | return ASTNodeAttr::Comp_CoreDefType; | 149 | 1.74k | } |
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 | 65 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FuncType>() noexcept { |
156 | 65 | return ASTNodeAttr::Comp_FuncType; |
157 | 65 | } 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 | 65 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FuncType>() noexcept { | 156 | 65 | return ASTNodeAttr::Comp_FuncType; | 157 | 65 | } |
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.04k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ComponentType>() noexcept { |
160 | 5.04k | return ASTNodeAttr::Comp_ComponentType; |
161 | 5.04k | } 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.04k | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ComponentType>() noexcept { | 160 | 5.04k | return ASTNodeAttr::Comp_ComponentType; | 161 | 5.04k | } |
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 | 562 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::InstanceType>() noexcept { |
164 | 562 | return ASTNodeAttr::Comp_InstanceType; |
165 | 562 | } 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 | 562 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::InstanceType>() noexcept { | 164 | 562 | return ASTNodeAttr::Comp_InstanceType; | 165 | 562 | } |
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 | 4 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ResourceType>() noexcept { |
168 | 4 | return ASTNodeAttr::Comp_ResourceType; |
169 | 4 | } 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 | 4 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ResourceType>() noexcept { | 168 | 4 | return ASTNodeAttr::Comp_ResourceType; | 169 | 4 | } |
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 | 172 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Canonical>() noexcept { |
172 | 172 | return ASTNodeAttr::Comp_Canonical; |
173 | 172 | } 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 | 172 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Canonical>() noexcept { | 172 | 172 | return ASTNodeAttr::Comp_Canonical; | 173 | 172 | } |
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 | 41 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Start>() noexcept { |
176 | 41 | return ASTNodeAttr::Comp_Start; |
177 | 41 | } 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 | 41 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Start>() noexcept { | 176 | 41 | return ASTNodeAttr::Comp_Start; | 177 | 41 | } |
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 | 6 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Export>() noexcept { |
180 | 6 | return ASTNodeAttr::Comp_Export; |
181 | 6 | } 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 | 6 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::Export>() noexcept { | 180 | 6 | return ASTNodeAttr::Comp_Export; | 181 | 6 | } |
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 | 50 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::RecordTy>() noexcept { |
184 | 50 | return ASTNodeAttr::Comp_Type_Record; |
185 | 50 | } 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 | 50 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::RecordTy>() noexcept { | 184 | 50 | return ASTNodeAttr::Comp_Type_Record; | 185 | 50 | } |
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 | 86 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::VariantTy>() noexcept { |
188 | 86 | return ASTNodeAttr::Comp_Type_Variant; |
189 | 86 | } 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 | 86 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::VariantTy>() noexcept { | 188 | 86 | return ASTNodeAttr::Comp_Type_Variant; | 189 | 86 | } |
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 | 59 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::TupleTy>() noexcept { |
192 | 59 | return ASTNodeAttr::Comp_Type_Tuple; |
193 | 59 | } 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 | 59 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::TupleTy>() noexcept { | 192 | 59 | return ASTNodeAttr::Comp_Type_Tuple; | 193 | 59 | } |
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 | 39 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FlagsTy>() noexcept { |
196 | 39 | return ASTNodeAttr::Comp_Type_Flags; |
197 | 39 | } 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 | 39 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FlagsTy>() noexcept { | 196 | 39 | return ASTNodeAttr::Comp_Type_Flags; | 197 | 39 | } |
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 | 78 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::EnumTy>() noexcept { |
200 | 78 | return ASTNodeAttr::Comp_Type_Enum; |
201 | 78 | } 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 | 78 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::EnumTy>() noexcept { | 200 | 78 | return ASTNodeAttr::Comp_Type_Enum; | 201 | 78 | } |
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 | 14 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ResultTy>() noexcept { |
204 | 14 | return ASTNodeAttr::Comp_Type_Result; |
205 | 14 | } 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 | 14 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::ResultTy>() noexcept { | 204 | 14 | return ASTNodeAttr::Comp_Type_Result; | 205 | 14 | } |
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 | 13 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FutureTy>() noexcept { |
212 | 13 | return ASTNodeAttr::Comp_Type_Future; |
213 | 13 | } 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 | 13 | inline ASTNodeAttr NodeAttrFromAST<AST::Component::FutureTy>() noexcept { | 212 | 13 | return ASTNodeAttr::Comp_Type_Future; | 213 | 13 | } |
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 | 23.4k | : Conf(Conf), Ser(Conf), IntrinsicsTable(IT) {} |
223 | 23.4k | ~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 | 14.4k | ASTNodeAttr Node) const noexcept { |
261 | 14.4k | spdlog::error(Code); |
262 | 14.4k | spdlog::error(ErrInfo::InfoLoading(Off)); |
263 | 14.4k | spdlog::error(ErrInfo::InfoAST(Node)); |
264 | 14.4k | return Unexpect(Code); |
265 | 14.4k | } |
266 | | inline Unexpected<ErrCode> logNeedProposal(ErrCode Code, Proposal Prop, |
267 | | uint64_t Off, |
268 | 234 | ASTNodeAttr Node) const noexcept { |
269 | 234 | spdlog::error(Code); |
270 | 234 | spdlog::error(ErrInfo::InfoProposal(Prop)); |
271 | 234 | spdlog::error(ErrInfo::InfoLoading(Off)); |
272 | 234 | spdlog::error(ErrInfo::InfoAST(Node)); |
273 | 234 | return Unexpect(Code); |
274 | 234 | } |
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 | 3.35M | Expect<uint32_t> loadVecCnt() { |
303 | | // Read the vector size. |
304 | 3.35M | EXPECTED_TRY(auto Cnt, FMgr.readU32()); |
305 | 3.35M | if (Cnt / 2 > FMgr.getRemainSize()) { |
306 | 1.12k | return Unexpect(ErrCode::Value::IntegerTooLong); |
307 | 1.12k | } |
308 | 3.35M | return Cnt; |
309 | 3.35M | } |
310 | | |
311 | | template <typename ASTType, typename T, typename ElemLoader> |
312 | 3.24M | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { |
313 | | // Read the vector size. |
314 | 3.24M | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { |
315 | 3.24M | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); |
316 | 3.24M | })); |
317 | 3.24M | Vec.resize(VecCnt); |
318 | | |
319 | | // Sequently create the AST node T and read data. |
320 | 5.40M | for (uint32_t I = 0; I < VecCnt; ++I) { |
321 | 2.17M | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { |
322 | 2.17M | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); |
323 | 2.17M | return E; |
324 | 2.17M | })); |
325 | 2.17M | } |
326 | 3.22M | return {}; |
327 | 3.24M | } 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 | 7.34k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 7.34k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 7.32k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 7.32k | })); | 317 | 7.32k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 59.7k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 52.6k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 52.6k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 52.6k | return E; | 324 | 52.6k | })); | 325 | 52.6k | } | 326 | 7.15k | return {}; | 327 | 7.32k | } |
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 | 320k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 320k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 320k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 320k | })); | 317 | 320k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 575k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 254k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 254k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 254k | return E; | 324 | 254k | })); | 325 | 254k | } | 326 | 320k | return {}; | 327 | 320k | } |
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 | 85.2k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 85.2k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 85.2k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 85.2k | })); | 317 | 85.2k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 115k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 30.2k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 30.2k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 30.2k | return E; | 324 | 30.2k | })); | 325 | 30.2k | } | 326 | 85.1k | return {}; | 327 | 85.2k | } |
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 | 6.66k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 6.66k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 6.64k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 6.64k | })); | 317 | 6.64k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 13.8k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 7.29k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 7.29k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 7.29k | return E; | 324 | 7.29k | })); | 325 | 7.29k | } | 326 | 6.57k | return {}; | 327 | 6.64k | } |
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.21M | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.21M | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.21M | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.21M | })); | 317 | 1.21M | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 2.45M | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 1.24M | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 1.24M | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 1.24M | return E; | 324 | 1.24M | })); | 325 | 1.24M | } | 326 | 1.21M | return {}; | 327 | 1.21M | } |
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 | 26.8k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 26.8k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 26.8k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 26.8k | })); | 317 | 26.8k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 46.8k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 20.4k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 20.4k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 20.4k | return E; | 324 | 20.4k | })); | 325 | 20.4k | } | 326 | 26.3k | return {}; | 327 | 26.8k | } |
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 | 17.0k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 17.0k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 17.0k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 17.0k | })); | 317 | 17.0k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 23.8k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 6.91k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 6.91k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 6.91k | return E; | 324 | 6.91k | })); | 325 | 6.91k | } | 326 | 16.9k | return {}; | 327 | 17.0k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::ExportSection, WasmEdge::AST::Component::Export, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ExportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Export&)#1}>(std::__1::vector<WasmEdge::AST::Component::Export, cxx20::expected<void, WasmEdge::ErrCode>::allocator<std::__1::vector> >&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ExportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Export&)#1}&&)Line | Count | Source | 312 | 5.66k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 5.66k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 5.65k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 5.65k | })); | 317 | 5.65k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 7.14k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 1.53k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 1.53k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 1.53k | return E; | 324 | 1.53k | })); | 325 | 1.53k | } | 326 | 5.60k | return {}; | 327 | 5.65k | } |
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 | 46.0k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 46.0k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 46.0k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 46.0k | })); | 317 | 46.0k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 46.1k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 199 | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 199 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 199 | return E; | 324 | 199 | })); | 325 | 199 | } | 326 | 45.9k | return {}; | 327 | 46.0k | } |
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 | 6.52k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 6.52k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 6.50k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 6.50k | })); | 317 | 6.50k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 11.7k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 5.29k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 5.29k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 5.29k | return E; | 324 | 5.29k | })); | 325 | 5.29k | } | 326 | 6.44k | return {}; | 327 | 6.50k | } |
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 | 4.67k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 4.67k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 4.65k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 4.65k | })); | 317 | 4.65k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 10.6k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 6.02k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 6.02k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 6.02k | return E; | 324 | 6.02k | })); | 325 | 6.02k | } | 326 | 4.60k | return {}; | 327 | 4.65k | } |
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 | 25.5k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 25.5k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 25.5k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 25.5k | })); | 317 | 25.5k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 28.3k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 2.81k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 2.81k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 2.81k | return E; | 324 | 2.81k | })); | 325 | 2.81k | } | 326 | 25.5k | return {}; | 327 | 25.5k | } |
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 | 8.67k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 8.67k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 8.62k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 8.62k | })); | 317 | 8.62k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 18.1k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 9.64k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 9.64k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 9.64k | return E; | 324 | 9.64k | })); | 325 | 9.64k | } | 326 | 8.53k | return {}; | 327 | 8.62k | } |
component_canonical.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::Canonical, WasmEdge::AST::Component::LabelValType, WasmEdge::Loader::Loader::loadCanonical(WasmEdge::AST::Component::Canonical&)::$_4>(std::__1::vector<WasmEdge::AST::Component::LabelValType, std::__1::allocator<WasmEdge::AST::Component::LabelValType> >&, WasmEdge::Loader::Loader::loadCanonical(WasmEdge::AST::Component::Canonical&)::$_4&&) Line | Count | Source | 312 | 1.07k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.07k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.04k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.04k | })); | 317 | 1.04k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 12.8k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 11.7k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 11.7k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 11.7k | return E; | 324 | 11.7k | })); | 325 | 11.7k | } | 326 | 1.03k | return {}; | 327 | 1.04k | } |
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.59k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.59k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.57k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.57k | })); | 317 | 1.57k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 120k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 119k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 119k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 119k | return E; | 324 | 119k | })); | 325 | 119k | } | 326 | 1.55k | return {}; | 327 | 1.57k | } |
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 | 114k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 114k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 114k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 114k | })); | 317 | 114k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 121k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 8.37k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 8.37k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 8.37k | return E; | 324 | 8.37k | })); | 325 | 8.37k | } | 326 | 113k | return {}; | 327 | 114k | } |
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 | 12.7k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 12.7k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 12.7k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 12.7k | })); | 317 | 12.7k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 84.2k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 71.4k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 71.4k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 71.4k | return E; | 324 | 71.4k | })); | 325 | 71.4k | } | 326 | 12.7k | return {}; | 327 | 12.7k | } |
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 | 775k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 775k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 775k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 775k | })); | 317 | 775k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 780k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 9.70k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 9.70k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 9.70k | return E; | 324 | 9.70k | })); | 325 | 9.70k | } | 326 | 770k | return {}; | 327 | 775k | } |
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 | 357k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 357k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 357k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 357k | })); | 317 | 357k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 358k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 1.50k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 1.50k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 1.50k | return E; | 324 | 1.50k | })); | 325 | 1.50k | } | 326 | 356k | return {}; | 327 | 357k | } |
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 | 889 | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 889 | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 868 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 868 | })); | 317 | 868 | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 3.61k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 2.77k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 2.77k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 2.77k | return E; | 324 | 2.77k | })); | 325 | 2.77k | } | 326 | 839 | return {}; | 327 | 868 | } |
component_type.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadVec<WasmEdge::AST::Component::VariantTy, std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::optional<WasmEdge::ComponentValType> >, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::VariantTy&)::$_1>(std::__1::vector<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::optional<WasmEdge::ComponentValType> >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::optional<WasmEdge::ComponentValType> > > >&, WasmEdge::Loader::Loader::loadType(WasmEdge::AST::Component::VariantTy&)::$_1&&) Line | Count | Source | 312 | 1.01k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.01k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 999 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 999 | })); | 317 | 999 | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 2.21k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 1.26k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 1.26k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 1.26k | return E; | 324 | 1.26k | })); | 325 | 1.26k | } | 326 | 947 | return {}; | 327 | 999 | } |
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.01k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.01k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 989 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 989 | })); | 317 | 989 | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 4.37k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 3.42k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 3.42k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 3.42k | return E; | 324 | 3.42k | })); | 325 | 3.42k | } | 326 | 953 | return {}; | 327 | 989 | } |
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 | 384 | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 384 | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 366 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 366 | })); | 317 | 366 | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 1.22k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 882 | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 882 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 882 | return E; | 324 | 882 | })); | 325 | 882 | } | 326 | 345 | return {}; | 327 | 366 | } |
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.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.26k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.26k | })); | 317 | 1.26k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 5.38k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 4.17k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 4.17k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 4.17k | return E; | 324 | 4.17k | })); | 325 | 4.17k | } | 326 | 1.20k | return {}; | 327 | 1.26k | } |
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.33k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.33k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.29k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.29k | })); | 317 | 1.29k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 19.4k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 18.3k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 18.3k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 18.3k | return E; | 324 | 18.3k | })); | 325 | 18.3k | } | 326 | 1.08k | return {}; | 327 | 1.29k | } |
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 | 5.25k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 5.25k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 5.21k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 5.21k | })); | 317 | 5.21k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 164k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 158k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 158k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 158k | return E; | 324 | 158k | })); | 325 | 158k | } | 326 | 5.16k | return {}; | 327 | 5.21k | } |
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.22k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.22k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.18k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.18k | })); | 317 | 1.18k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 3.47k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 2.50k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 2.50k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 2.50k | return E; | 324 | 2.50k | })); | 325 | 2.50k | } | 326 | 978 | return {}; | 327 | 1.18k | } |
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.68k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.68k | 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 | 5.37k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 3.80k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 3.80k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 3.80k | return E; | 324 | 3.80k | })); | 325 | 3.80k | } | 326 | 1.56k | return {}; | 327 | 1.65k | } |
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.27k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 2.27k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 2.24k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 2.24k | })); | 317 | 2.24k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 3.61k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 2.59k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 2.59k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 2.59k | return E; | 324 | 2.59k | })); | 325 | 2.59k | } | 326 | 1.02k | return {}; | 327 | 2.24k | } |
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.43k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 1.43k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 1.39k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 1.39k | })); | 317 | 1.39k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 21.1k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 19.8k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 19.8k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 19.8k | return E; | 324 | 19.8k | })); | 325 | 19.8k | } | 326 | 1.24k | return {}; | 327 | 1.39k | } |
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 | 3.82k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 3.82k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 3.78k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 3.78k | })); | 317 | 3.78k | 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 | 374 | return {}; | 327 | 3.78k | } |
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.62k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 5.62k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 5.58k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 5.58k | })); | 317 | 5.58k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 24.9k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 21.1k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 21.1k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 21.1k | return E; | 324 | 21.1k | })); | 325 | 21.1k | } | 326 | 3.81k | return {}; | 327 | 5.58k | } |
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.15k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 3.15k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 3.11k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 3.11k | })); | 317 | 3.11k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 8.47k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 7.68k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 7.68k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 7.68k | return E; | 324 | 7.68k | })); | 325 | 7.68k | } | 326 | 791 | return {}; | 327 | 3.11k | } |
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 | 207 | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 207 | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 174 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 174 | })); | 317 | 174 | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 3.48k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 3.34k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 3.34k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 3.34k | return E; | 324 | 3.34k | })); | 325 | 3.34k | } | 326 | 139 | return {}; | 327 | 174 | } |
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.65k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 2.65k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 2.60k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 2.60k | })); | 317 | 2.60k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 9.26k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 6.85k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 6.85k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 6.85k | return E; | 324 | 6.85k | })); | 325 | 6.85k | } | 326 | 2.40k | return {}; | 327 | 2.60k | } |
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 | 144k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 144k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 144k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 144k | })); | 317 | 144k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 145k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 1.32k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 1.32k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 1.32k | return E; | 324 | 1.32k | })); | 325 | 1.32k | } | 326 | 144k | return {}; | 327 | 144k | } |
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 | 14.5k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 13.2k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 13.2k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 13.2k | return E; | 324 | 13.2k | })); | 325 | 13.2k | } | 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.5k | Expect<void> loadVec(std::vector<T> &Vec, ElemLoader &&Func) { | 313 | | // Read the vector size. | 314 | 25.5k | EXPECTED_TRY(uint32_t VecCnt, loadVecCnt().map_error([this](auto E) { | 315 | 25.4k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 316 | 25.4k | })); | 317 | 25.4k | Vec.resize(VecCnt); | 318 | | | 319 | | // Sequently create the AST node T and read data. | 320 | 49.8k | for (uint32_t I = 0; I < VecCnt; ++I) { | 321 | 24.4k | EXPECTED_TRY(Func(Vec[I]).map_error([](auto E) { | 322 | 24.4k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 323 | 24.4k | return E; | 324 | 24.4k | })); | 325 | 24.4k | } | 326 | 25.3k | return {}; | 327 | 25.4k | } |
|
328 | | |
329 | | template <typename T, typename ElemLoader> |
330 | 3.12M | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { |
331 | 3.12M | Sec.setStartOffset(FMgr.getOffset()); |
332 | | // Load the section size first. |
333 | 3.12M | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { |
334 | 3.12M | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); |
335 | 3.12M | })); |
336 | | |
337 | | // Check the remain file/buffer size. |
338 | 3.12M | if (unlikely(FMgr.getRemainSize() < SecSize)) { |
339 | 771 | return logLoadError(ErrCode::Value::LengthOutOfBounds, |
340 | 771 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); |
341 | 771 | } |
342 | | |
343 | | // Set the section size. |
344 | 3.12M | Sec.setContentSize(SecSize); |
345 | 3.12M | auto StartOffset = FMgr.getOffset(); |
346 | | |
347 | | // Invoke the callback function. |
348 | 3.12M | EXPECTED_TRY(Func()); |
349 | | |
350 | | // Check the read size matches the section size. |
351 | 3.11M | auto EndOffset = FMgr.getOffset(); |
352 | 3.11M | if (EndOffset - StartOffset != Sec.getContentSize()) { |
353 | 522 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, |
354 | 522 | NodeAttrFromAST<T>()); |
355 | 522 | } |
356 | 3.11M | return {}; |
357 | 3.11M | } 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.14k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 5.14k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 5.14k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 5.13k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 5.13k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 5.13k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 26 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 26 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 26 | } | 342 | | | 343 | | // Set the section size. | 344 | 5.11k | Sec.setContentSize(SecSize); | 345 | 5.11k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 5.11k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 5.03k | auto EndOffset = FMgr.getOffset(); | 352 | 5.03k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 7 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 7 | NodeAttrFromAST<T>()); | 355 | 7 | } | 356 | 5.02k | return {}; | 357 | 5.03k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::CoreInstanceSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreInstanceSection&)::$_0>(WasmEdge::AST::Component::CoreInstanceSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::CoreInstanceSection&)::$_0&&) Line | Count | Source | 330 | 7.37k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 7.37k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 7.37k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 7.36k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 7.36k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 7.36k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 15 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 15 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 15 | } | 342 | | | 343 | | // Set the section size. | 344 | 7.34k | Sec.setContentSize(SecSize); | 345 | 7.34k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 7.34k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 7.15k | auto EndOffset = FMgr.getOffset(); | 352 | 7.15k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 16 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 16 | NodeAttrFromAST<T>()); | 355 | 16 | } | 356 | 7.13k | return {}; | 357 | 7.15k | } |
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 | 320k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 320k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 320k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 320k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 320k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 320k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 22 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 22 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 22 | } | 342 | | | 343 | | // Set the section size. | 344 | 320k | Sec.setContentSize(SecSize); | 345 | 320k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 320k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 320k | auto EndOffset = FMgr.getOffset(); | 352 | 320k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 9 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 9 | NodeAttrFromAST<T>()); | 355 | 9 | } | 356 | 320k | return {}; | 357 | 320k | } |
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 | 5.29k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 5.29k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 5.29k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 5.29k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 5.29k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 5.29k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 24 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 24 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 24 | } | 342 | | | 343 | | // Set the section size. | 344 | 5.26k | Sec.setContentSize(SecSize); | 345 | 5.26k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 5.26k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 4.30k | auto EndOffset = FMgr.getOffset(); | 352 | 4.30k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 4 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 4 | NodeAttrFromAST<T>()); | 355 | 4 | } | 356 | 4.30k | return {}; | 357 | 4.30k | } |
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 | 85.3k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 85.3k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 85.3k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 85.2k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 85.2k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 85.2k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 4 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 4 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 4 | } | 342 | | | 343 | | // Set the section size. | 344 | 85.2k | Sec.setContentSize(SecSize); | 345 | 85.2k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 85.2k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 85.1k | auto EndOffset = FMgr.getOffset(); | 352 | 85.1k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 8 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 8 | NodeAttrFromAST<T>()); | 355 | 8 | } | 356 | 85.1k | return {}; | 357 | 85.1k | } |
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 | 6.67k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 6.67k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 6.67k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 6.67k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 6.67k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 6.67k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 7 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 7 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 7 | } | 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.57k | auto EndOffset = FMgr.getOffset(); | 352 | 6.57k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 11 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 11 | NodeAttrFromAST<T>()); | 355 | 11 | } | 356 | 6.56k | return {}; | 357 | 6.57k | } |
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.21M | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 1.21M | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 1.21M | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 1.21M | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 1.21M | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 1.21M | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 16 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 16 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 16 | } | 342 | | | 343 | | // Set the section size. | 344 | 1.21M | Sec.setContentSize(SecSize); | 345 | 1.21M | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 1.21M | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 1.21M | auto EndOffset = FMgr.getOffset(); | 352 | 1.21M | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 47 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 47 | NodeAttrFromAST<T>()); | 355 | 47 | } | 356 | 1.21M | return {}; | 357 | 1.21M | } |
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 | 26.8k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 26.8k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 26.8k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 26.8k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 26.8k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 26.8k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 12 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 12 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 12 | } | 342 | | | 343 | | // Set the section size. | 344 | 26.8k | Sec.setContentSize(SecSize); | 345 | 26.8k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 26.8k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 26.3k | auto EndOffset = FMgr.getOffset(); | 352 | 26.3k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 33 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 33 | NodeAttrFromAST<T>()); | 355 | 33 | } | 356 | 26.3k | return {}; | 357 | 26.3k | } |
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.63k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 1.63k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 1.63k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 1.62k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 1.62k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 1.62k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 27 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 27 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 27 | } | 342 | | | 343 | | // Set the section size. | 344 | 1.60k | Sec.setContentSize(SecSize); | 345 | 1.60k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 1.60k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 1.55k | auto EndOffset = FMgr.getOffset(); | 352 | 1.55k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 23 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 23 | NodeAttrFromAST<T>()); | 355 | 23 | } | 356 | 1.53k | return {}; | 357 | 1.55k | } |
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 | 17.0k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 17.0k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 17.0k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 17.0k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 17.0k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 17.0k | 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 | 17.0k | Sec.setContentSize(SecSize); | 345 | 17.0k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 17.0k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 16.9k | auto EndOffset = FMgr.getOffset(); | 352 | 16.9k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 11 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 11 | NodeAttrFromAST<T>()); | 355 | 11 | } | 356 | 16.9k | return {}; | 357 | 16.9k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::Component::ExportSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ExportSection&)::$_0>(WasmEdge::AST::Component::ExportSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ExportSection&)::$_0&&) Line | Count | Source | 330 | 5.68k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 5.68k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 5.68k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 5.68k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 5.68k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 5.68k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 21 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 21 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 21 | } | 342 | | | 343 | | // Set the section size. | 344 | 5.66k | Sec.setContentSize(SecSize); | 345 | 5.66k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 5.66k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 5.60k | auto EndOffset = FMgr.getOffset(); | 352 | 5.60k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 13 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 13 | NodeAttrFromAST<T>()); | 355 | 13 | } | 356 | 5.59k | return {}; | 357 | 5.60k | } |
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 | 1.39M | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 1.39M | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 1.39M | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 1.39M | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 1.39M | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 1.39M | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 96 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 96 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 96 | } | 342 | | | 343 | | // Set the section size. | 344 | 1.39M | Sec.setContentSize(SecSize); | 345 | 1.39M | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 1.39M | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 1.39M | auto EndOffset = FMgr.getOffset(); | 352 | 1.39M | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 0 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 0 | NodeAttrFromAST<T>()); | 355 | 0 | } | 356 | 1.39M | return {}; | 357 | 1.39M | } |
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.43k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 6.43k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 6.43k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 6.42k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 6.42k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 6.42k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 36 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 36 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 36 | } | 342 | | | 343 | | // Set the section size. | 344 | 6.39k | Sec.setContentSize(SecSize); | 345 | 6.39k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 6.39k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 5.99k | auto EndOffset = FMgr.getOffset(); | 352 | 5.99k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 29 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 29 | NodeAttrFromAST<T>()); | 355 | 29 | } | 356 | 5.96k | return {}; | 357 | 5.99k | } |
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.39k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 1.39k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 1.39k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 1.38k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 1.38k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 1.38k | 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.33k | Sec.setContentSize(SecSize); | 345 | 1.33k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 1.33k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 1.08k | auto EndOffset = FMgr.getOffset(); | 352 | 1.08k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 21 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 21 | NodeAttrFromAST<T>()); | 355 | 21 | } | 356 | 1.06k | return {}; | 357 | 1.08k | } |
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 | 5.30k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 5.30k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 5.30k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 5.29k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 5.29k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 5.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 | 5.25k | Sec.setContentSize(SecSize); | 345 | 5.25k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 5.25k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 5.16k | auto EndOffset = FMgr.getOffset(); | 352 | 5.16k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 40 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 40 | NodeAttrFromAST<T>()); | 355 | 40 | } | 356 | 5.12k | return {}; | 357 | 5.16k | } |
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.26k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 1.26k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 1.26k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 1.25k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 1.25k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 1.25k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 32 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 32 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 32 | } | 342 | | | 343 | | // Set the section size. | 344 | 1.22k | Sec.setContentSize(SecSize); | 345 | 1.22k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 1.22k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 978 | auto EndOffset = FMgr.getOffset(); | 352 | 978 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 42 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 42 | NodeAttrFromAST<T>()); | 355 | 42 | } | 356 | 936 | return {}; | 357 | 978 | } |
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.71k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 1.71k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 1.71k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 1.71k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 1.71k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 1.71k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 33 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 33 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 33 | } | 342 | | | 343 | | // Set the section size. | 344 | 1.68k | Sec.setContentSize(SecSize); | 345 | 1.68k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 1.68k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 1.56k | auto EndOffset = FMgr.getOffset(); | 352 | 1.56k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 9 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 9 | NodeAttrFromAST<T>()); | 355 | 9 | } | 356 | 1.56k | return {}; | 357 | 1.56k | } |
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.31k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 2.31k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 2.31k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 2.30k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 2.30k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 2.30k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 26 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 26 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 26 | } | 342 | | | 343 | | // Set the section size. | 344 | 2.27k | Sec.setContentSize(SecSize); | 345 | 2.27k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 2.27k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 1.02k | auto EndOffset = FMgr.getOffset(); | 352 | 1.02k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 35 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 35 | NodeAttrFromAST<T>()); | 355 | 35 | } | 356 | 989 | return {}; | 357 | 1.02k | } |
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.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.48k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 1.48k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 1.48k | 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 | 1.43k | Sec.setContentSize(SecSize); | 345 | 1.43k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 1.43k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 1.24k | auto EndOffset = FMgr.getOffset(); | 352 | 1.24k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 35 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 35 | NodeAttrFromAST<T>()); | 355 | 35 | } | 356 | 1.21k | return {}; | 357 | 1.24k | } |
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 | 205 | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 205 | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 205 | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 199 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 199 | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 199 | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 34 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 34 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 34 | } | 342 | | | 343 | | // Set the section size. | 344 | 165 | Sec.setContentSize(SecSize); | 345 | 165 | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 165 | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 158 | auto EndOffset = FMgr.getOffset(); | 352 | 158 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 16 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 16 | NodeAttrFromAST<T>()); | 355 | 16 | } | 356 | 142 | return {}; | 357 | 158 | } |
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 | 3.85k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 3.85k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 3.85k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 3.85k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 3.85k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 3.85k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 31 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 31 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 31 | } | 342 | | | 343 | | // Set the section size. | 344 | 3.82k | Sec.setContentSize(SecSize); | 345 | 3.82k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 3.82k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 374 | auto EndOffset = FMgr.getOffset(); | 352 | 374 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 30 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 30 | NodeAttrFromAST<T>()); | 355 | 30 | } | 356 | 344 | return {}; | 357 | 374 | } |
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.66k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 5.66k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 5.66k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 5.65k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 5.65k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 5.65k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 34 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 34 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 34 | } | 342 | | | 343 | | // Set the section size. | 344 | 5.62k | Sec.setContentSize(SecSize); | 345 | 5.62k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 5.62k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 3.81k | auto EndOffset = FMgr.getOffset(); | 352 | 3.81k | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 13 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 13 | NodeAttrFromAST<T>()); | 355 | 13 | } | 356 | 3.80k | return {}; | 357 | 3.81k | } |
section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContent<WasmEdge::AST::DataSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::DataSection&)::$_0>(WasmEdge::AST::DataSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::DataSection&)::$_0&&) Line | Count | Source | 330 | 3.20k | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 3.20k | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 3.20k | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 3.19k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 3.19k | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 3.19k | if (unlikely(FMgr.getRemainSize() < SecSize)) { | 339 | 44 | return logLoadError(ErrCode::Value::LengthOutOfBounds, | 340 | 44 | FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 341 | 44 | } | 342 | | | 343 | | // Set the section size. | 344 | 3.15k | Sec.setContentSize(SecSize); | 345 | 3.15k | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 3.15k | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 791 | auto EndOffset = FMgr.getOffset(); | 352 | 791 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 27 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 27 | NodeAttrFromAST<T>()); | 355 | 27 | } | 356 | 764 | return {}; | 357 | 791 | } |
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 | 392 | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 392 | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 392 | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 387 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 387 | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 387 | 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 | 347 | Sec.setContentSize(SecSize); | 345 | 347 | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 347 | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 342 | auto EndOffset = FMgr.getOffset(); | 352 | 342 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 17 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 17 | NodeAttrFromAST<T>()); | 355 | 17 | } | 356 | 325 | return {}; | 357 | 342 | } |
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 | 247 | Expect<void> loadSectionContent(T &Sec, ElemLoader &&Func) { | 331 | 247 | Sec.setStartOffset(FMgr.getOffset()); | 332 | | // Load the section size first. | 333 | 247 | EXPECTED_TRY(uint32_t SecSize, FMgr.readU32().map_error([this](auto E) { | 334 | 245 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<T>()); | 335 | 245 | })); | 336 | | | 337 | | // Check the remain file/buffer size. | 338 | 245 | 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 | 207 | Sec.setContentSize(SecSize); | 345 | 207 | auto StartOffset = FMgr.getOffset(); | 346 | | | 347 | | // Invoke the callback function. | 348 | 207 | EXPECTED_TRY(Func()); | 349 | | | 350 | | // Check the read size matches the section size. | 351 | 139 | auto EndOffset = FMgr.getOffset(); | 352 | 139 | if (EndOffset - StartOffset != Sec.getContentSize()) { | 353 | 26 | return logLoadError(ErrCode::Value::SectionSizeMismatch, EndOffset, | 354 | 26 | NodeAttrFromAST<T>()); | 355 | 26 | } | 356 | 113 | return {}; | 357 | 139 | } |
|
358 | | |
359 | | template <typename T, typename ElemLoader> |
360 | 1.71M | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { |
361 | 1.71M | return loadVec<T>(Sec.getContent(), std::move(Func)); |
362 | 1.71M | } 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 | 7.34k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 7.34k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 7.34k | } |
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 | 320k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 320k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 320k | } |
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 | 85.2k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 85.2k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 85.2k | } |
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 | 6.66k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 6.66k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 6.66k | } |
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.21M | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 1.21M | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 1.21M | } |
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 | 26.8k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 26.8k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 26.8k | } |
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 | 17.0k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 17.0k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 17.0k | } |
component_section.cpp:cxx20::expected<void, WasmEdge::ErrCode> WasmEdge::Loader::Loader::loadSectionContentVec<WasmEdge::AST::Component::ExportSection, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ExportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Export&)#1}>(WasmEdge::AST::Component::ExportSection&, WasmEdge::Loader::Loader::loadSection(WasmEdge::AST::Component::ExportSection&)::$_0::operator()() const::{lambda(WasmEdge::AST::Component::Export&)#1}&&)Line | Count | Source | 360 | 5.66k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 5.66k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 5.66k | } |
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.33k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 1.33k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 1.33k | } |
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 | 5.25k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 5.25k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 5.25k | } |
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.22k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 1.22k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 1.22k | } |
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.68k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 1.68k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 1.68k | } |
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.27k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 2.27k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 2.27k | } |
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.43k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 1.43k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 1.43k | } |
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 | 3.82k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 3.82k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 3.82k | } |
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.62k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 5.62k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 5.62k | } |
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.15k | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 3.15k | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 3.15k | } |
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 | 207 | Expect<void> loadSectionContentVec(T &Sec, ElemLoader &&Func) { | 361 | 207 | return loadVec<T>(Sec.getContent(), std::move(Func)); | 362 | 207 | } |
|
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 | 29.7k | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { |
488 | 29.7k | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { |
489 | 29.7k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); |
490 | 29.7k | })); |
491 | 29.7k | switch (Flag) { |
492 | 5.94k | case 0x01: { |
493 | 5.94k | T V; |
494 | 5.94k | EXPECTED_TRY(F(V).map_error([](auto E) { |
495 | 5.92k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); |
496 | 5.92k | return E; |
497 | 5.92k | })); |
498 | 5.92k | return std::optional<T>(V); |
499 | 5.94k | } |
500 | 23.7k | case 0x00: |
501 | 23.7k | return std::nullopt; |
502 | 25 | default: |
503 | 25 | return logLoadError(ErrCode::Value::MalformedDefType, |
504 | 25 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); |
505 | 29.7k | } |
506 | 29.7k | } 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 | 17.5k | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { | 488 | 17.5k | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { | 489 | 17.5k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 490 | 17.5k | })); | 491 | 17.5k | switch (Flag) { | 492 | 749 | case 0x01: { | 493 | 749 | T V; | 494 | 749 | EXPECTED_TRY(F(V).map_error([](auto E) { | 495 | 748 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 496 | 748 | return E; | 497 | 748 | })); | 498 | 748 | return std::optional<T>(V); | 499 | 749 | } | 500 | 16.8k | case 0x00: | 501 | 16.8k | return std::nullopt; | 502 | 2 | default: | 503 | 2 | return logLoadError(ErrCode::Value::MalformedDefType, | 504 | 2 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 505 | 17.5k | } | 506 | 17.5k | } |
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.24k | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { | 488 | 1.24k | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { | 489 | 1.24k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 490 | 1.24k | })); | 491 | 1.24k | switch (Flag) { | 492 | 693 | case 0x01: { | 493 | 693 | T V; | 494 | 693 | EXPECTED_TRY(F(V).map_error([](auto E) { | 495 | 692 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 496 | 692 | return E; | 497 | 692 | })); | 498 | 692 | return std::optional<T>(V); | 499 | 693 | } | 500 | 536 | case 0x00: | 501 | 536 | return std::nullopt; | 502 | 11 | default: | 503 | 11 | return logLoadError(ErrCode::Value::MalformedDefType, | 504 | 11 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 505 | 1.24k | } | 506 | 1.24k | } |
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.20k | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { | 488 | 7.20k | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { | 489 | 7.20k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 490 | 7.20k | })); | 491 | 7.20k | switch (Flag) { | 492 | 3.55k | case 0x01: { | 493 | 3.55k | T V; | 494 | 3.55k | EXPECTED_TRY(F(V).map_error([](auto E) { | 495 | 3.54k | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 496 | 3.54k | return E; | 497 | 3.54k | })); | 498 | 3.54k | return std::optional<T>(V); | 499 | 3.55k | } | 500 | 3.64k | case 0x00: | 501 | 3.64k | return std::nullopt; | 502 | 6 | default: | 503 | 6 | return logLoadError(ErrCode::Value::MalformedDefType, | 504 | 6 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 505 | 7.20k | } | 506 | 7.20k | } |
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.32k | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { | 488 | 1.32k | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { | 489 | 1.32k | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 490 | 1.32k | })); | 491 | 1.32k | switch (Flag) { | 492 | 626 | case 0x01: { | 493 | 626 | T V; | 494 | 626 | EXPECTED_TRY(F(V).map_error([](auto E) { | 495 | 622 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 496 | 622 | return E; | 497 | 622 | })); | 498 | 622 | return std::optional<T>(V); | 499 | 626 | } | 500 | 697 | case 0x00: | 501 | 697 | return std::nullopt; | 502 | 1 | default: | 503 | 1 | return logLoadError(ErrCode::Value::MalformedDefType, | 504 | 1 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 505 | 1.32k | } | 506 | 1.32k | } |
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 | 915 | Expect<std::optional<T>> loadOption(std::function<Expect<void>(T &)> F) { | 488 | 915 | EXPECTED_TRY(uint8_t Flag, FMgr.readByte().map_error([this](auto E) { | 489 | 912 | return logLoadError(E, FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 490 | 912 | })); | 491 | 912 | switch (Flag) { | 492 | 153 | case 0x01: { | 493 | 153 | T V; | 494 | 153 | EXPECTED_TRY(F(V).map_error([](auto E) { | 495 | 144 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 496 | 144 | return E; | 497 | 144 | })); | 498 | 144 | return std::optional<T>(V); | 499 | 153 | } | 500 | 758 | case 0x00: | 501 | 758 | return std::nullopt; | 502 | 1 | default: | 503 | 1 | return logLoadError(ErrCode::Value::MalformedDefType, | 504 | 1 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 505 | 912 | } | 506 | 912 | } |
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 | 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 | 176 | case 0x01: { | 493 | 176 | T V; | 494 | 176 | EXPECTED_TRY(F(V).map_error([](auto E) { | 495 | 175 | spdlog::error(ErrInfo::InfoAST(NodeAttrFromAST<ASTType>())); | 496 | 175 | return E; | 497 | 175 | })); | 498 | 175 | return std::optional<T>(V); | 499 | 176 | } | 500 | 1.31k | case 0x00: | 501 | 1.31k | return std::nullopt; | 502 | 4 | default: | 503 | 4 | return logLoadError(ErrCode::Value::MalformedDefType, | 504 | 4 | FMgr.getLastOffset(), NodeAttrFromAST<ASTType>()); | 505 | 1.49k | } | 506 | 1.49k | } |
|
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 | 1.51M | explicit ComponentNestGuard(uint32_t &L) noexcept : Level(L) { ++Level; } |
528 | 1.51M | ~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 |