[PATCH] D106026: [lld][WebAssembly] Cleanup duplicate fields in Symbols.h. NFC

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 14 17:18:46 PDT 2021


sbc100 created this revision.
Herald added subscribers: wingo, ecnelises, sunfish, hiraditya, jgravelle-google, dschuff.
sbc100 requested review of this revision.
Herald added subscribers: llvm-commits, aheejin.
Herald added a project: LLVM.

This avoids duplication and simplifies the code in several places
without increasing the size of the symbol union (at least not
above the assert'd limit of 120 bytes).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D106026

Files:
  lld/wasm/Symbols.h
  lld/wasm/SyntheticSections.cpp
  lld/wasm/Writer.cpp
  llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyWasmObjectWriter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106026.358787.patch
Type: text/x-patch
Size: 4924 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210715/3c43682d/attachment.bin>


More information about the llvm-commits mailing list