LLVM  10.0.0svn
Public Types | Public Member Functions | Static Public Attributes | List of all members
llvm::object::WasmSectionOrderChecker Class Reference

#include "llvm/Object/Wasm.h"

Collaboration diagram for llvm::object::WasmSectionOrderChecker:
Collaboration graph
[legend]

Public Types

enum  : int {
  WASM_SEC_ORDER_NONE = 0, WASM_SEC_ORDER_TYPE, WASM_SEC_ORDER_IMPORT, WASM_SEC_ORDER_FUNCTION,
  WASM_SEC_ORDER_TABLE, WASM_SEC_ORDER_MEMORY, WASM_SEC_ORDER_GLOBAL, WASM_SEC_ORDER_EVENT,
  WASM_SEC_ORDER_EXPORT, WASM_SEC_ORDER_START, WASM_SEC_ORDER_ELEM, WASM_SEC_ORDER_DATACOUNT,
  WASM_SEC_ORDER_CODE, WASM_SEC_ORDER_DATA, WASM_SEC_ORDER_DYLINK, WASM_SEC_ORDER_LINKING,
  WASM_SEC_ORDER_RELOC, WASM_SEC_ORDER_NAME, WASM_SEC_ORDER_PRODUCERS, WASM_SEC_ORDER_TARGET_FEATURES,
  WASM_NUM_SEC_ORDERS
}
 

Public Member Functions

bool isValidSectionOrder (unsigned ID, StringRef CustomSectionName="")
 

Static Public Attributes

static int DisallowedPredecessors [WASM_NUM_SEC_ORDERS][WASM_NUM_SEC_ORDERS]
 

Detailed Description

Definition at line 293 of file Wasm.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
WASM_SEC_ORDER_NONE 
WASM_SEC_ORDER_TYPE 
WASM_SEC_ORDER_IMPORT 
WASM_SEC_ORDER_FUNCTION 
WASM_SEC_ORDER_TABLE 
WASM_SEC_ORDER_MEMORY 
WASM_SEC_ORDER_GLOBAL 
WASM_SEC_ORDER_EVENT 
WASM_SEC_ORDER_EXPORT 
WASM_SEC_ORDER_START 
WASM_SEC_ORDER_ELEM 
WASM_SEC_ORDER_DATACOUNT 
WASM_SEC_ORDER_CODE 
WASM_SEC_ORDER_DATA 
WASM_SEC_ORDER_DYLINK 
WASM_SEC_ORDER_LINKING 
WASM_SEC_ORDER_RELOC 
WASM_SEC_ORDER_NAME 
WASM_SEC_ORDER_PRODUCERS 
WASM_SEC_ORDER_TARGET_FEATURES 
WASM_NUM_SEC_ORDERS 

Definition at line 296 of file Wasm.h.

Member Function Documentation

◆ isValidSectionOrder()

bool WasmSectionOrderChecker::isValidSectionOrder ( unsigned  ID,
StringRef  CustomSectionName = "" 
)

Member Data Documentation

◆ DisallowedPredecessors

int WasmSectionOrderChecker::DisallowedPredecessors
static

The documentation for this class was generated from the following files: