LLVM  8.0.1
Public Types | Public Member Functions | List of all members
llvm::object::WasmSectionOrderChecker Class Reference

#include "llvm/Object/Wasm.h"

Public Types

enum  : int {
  WASM_SEC_ORDER_TYPE = 1, WASM_SEC_ORDER_IMPORT = 2, WASM_SEC_ORDER_FUNCTION = 3, WASM_SEC_ORDER_TABLE = 4,
  WASM_SEC_ORDER_MEMORY = 5, WASM_SEC_ORDER_GLOBAL = 6, WASM_SEC_ORDER_EVENT = 7, WASM_SEC_ORDER_EXPORT = 8,
  WASM_SEC_ORDER_START = 9, WASM_SEC_ORDER_ELEM = 10, WASM_SEC_ORDER_DATACOUNT = 11, WASM_SEC_ORDER_CODE = 12,
  WASM_SEC_ORDER_DATA = 13, WASM_SEC_ORDER_DYLINK = 0, WASM_SEC_ORDER_LINKING = 100, WASM_SEC_ORDER_RELOC = 101,
  WASM_SEC_ORDER_NAME = 102, WASM_SEC_ORDER_PRODUCERS = 103
}
 

Public Member Functions

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

Detailed Description

Definition at line 286 of file Wasm.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
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 

Definition at line 289 of file Wasm.h.

Member Function Documentation

◆ isValidSectionOrder()

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

Definition at line 1502 of file WasmObjectFile.cpp.


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