[llvm] [Object][Wasm] Use offset instead of index for Global address and store size (PR #81781)

Derek Schuff via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 14 15:23:44 PST 2024


================
@@ -350,6 +350,8 @@ struct WasmGlobal {
   WasmGlobalType Type;
   WasmInitExpr InitExpr;
   StringRef SymbolName; // from the "linking" section
+  uint32_t Offset;
+  uint32_t Size;
----------------
dschuff wrote:

Yes, added.

https://github.com/llvm/llvm-project/pull/81781


More information about the llvm-commits mailing list