[PATCH] D55343: [WebAssembly] Change event section code to 13

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 5 15:13:27 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL348424: [WebAssembly] Change event section code to 13 (authored by aheejin, committed by ).

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55343/new/

https://reviews.llvm.org/D55343

Files:
  llvm/trunk/include/llvm/BinaryFormat/Wasm.h
  llvm/trunk/test/MC/WebAssembly/event-section.ll


Index: llvm/trunk/include/llvm/BinaryFormat/Wasm.h
===================================================================
--- llvm/trunk/include/llvm/BinaryFormat/Wasm.h
+++ llvm/trunk/include/llvm/BinaryFormat/Wasm.h
@@ -199,7 +199,7 @@
   WASM_SEC_ELEM = 9,     // Elements section
   WASM_SEC_CODE = 10,    // Function bodies (code)
   WASM_SEC_DATA = 11,    // Data segments
-  WASM_SEC_EVENT = 12    // Event declarations
+  WASM_SEC_EVENT = 13    // Event declarations
 };
 
 // Type immediate encodings used in various contexts.
Index: llvm/trunk/test/MC/WebAssembly/event-section.ll
===================================================================
--- llvm/trunk/test/MC/WebAssembly/event-section.ll
+++ llvm/trunk/test/MC/WebAssembly/event-section.ll
@@ -53,6 +53,6 @@
 ; CHECK-NEXT:         Flags:           [ BINDING_WEAK ]
 ; CHECK-NEXT:         Event:           0
 
-; SEC:          Type: EVENT (0xC)
+; SEC:          Type: EVENT (0xD)
 ; SEC-NEXT:     Size: 3
 ; SEC-NEXT:     Offset: 97


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55343.176886.patch
Type: text/x-patch
Size: 1002 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181205/191aa6cd/attachment.bin>


More information about the llvm-commits mailing list