[PATCH] D131284: [lld][WebAssembly] Rename SymbolTable::getSymbols to match ELF backend. NFC

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 5 12:57:48 PDT 2022


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

The ELF backend originally used `getSymbols()` but went though a
sequence of changes that resulted in this method being called
`symbols()`.

d8f8abbd4a2823f223bd7bc56445541fb221b512 replaced `getSymbols()` with
`forEachSymbol`.

a2fc96441788fba1e4709d63677f34ed8e321dae <https://reviews.llvm.org/rGa2fc96441788fba1e4709d63677f34ed8e321dae> replaced `forEachSymbol` with
`llvm::iterator_range`.

e9262edf0d11a907763098d8e101219ccd9c43e9 <https://reviews.llvm.org/rGe9262edf0d11a907763098d8e101219ccd9c43e9> replaced `llvm::iterator_range`
with `symbols()`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D131284

Files:
  lld/wasm/Driver.cpp
  lld/wasm/MarkLive.cpp
  lld/wasm/SymbolTable.cpp
  lld/wasm/SymbolTable.h
  lld/wasm/SyntheticSections.cpp
  lld/wasm/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131284.450362.patch
Type: text/x-patch
Size: 3889 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220805/95761d3c/attachment.bin>


More information about the llvm-commits mailing list