WasmSections.h 1.3 KB

1234567891011121314151617181920
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. // (internalName , ID , SectionFlag, Precedent )
  6. WASM_SECTION(Custom , "custom" , fSectNone , Limit )
  7. WASM_SECTION(Type , "type" , fSectNone , Limit )
  8. WASM_SECTION(Import , "import" , fSectNone , Limit )
  9. WASM_SECTION(Function , "function" , fSectNone , Type )
  10. WASM_SECTION(Table , "table" , fSectNone , Limit )
  11. WASM_SECTION(Memory , "memory" , fSectNone , Limit )
  12. WASM_SECTION(Global , "global" , fSectNone , Limit )
  13. WASM_SECTION(Export , "export" , fSectNone , Limit )
  14. WASM_SECTION(StartFunction , "start" , fSectNone , Type )
  15. WASM_SECTION(Element , "element" , fSectNone , Limit )
  16. WASM_SECTION(FunctionBodies , "code" , fSectNone , Function )
  17. WASM_SECTION(Data , "data" , fSectNone , Limit )
  18. WASM_SECTION(Name , "name" , fSectIgnore, Type )
  19. #undef WASM_SECTION