[PATCH] D43491: [WebAssembly] Do not create a temporary data structure for relocations.

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 19 16:38:44 PST 2018


sbc100 added inline comments.


================
Comment at: lld/wasm/InputChunks.h:54
 
   uint32_t getOutputOffset() const { return OutputOffset; }
   ArrayRef<WasmRelocation> getRelocations() const { return Relocations; }
----------------
I guess we might as well get rid of this pair get/setters  now and just expose OutputOffset.


https://reviews.llvm.org/D43491





More information about the llvm-commits mailing list