[PATCH] D46555: [WebAssembly] MC: Use existing MCSymbol.Index field rather than inventing extra mapping

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 7 15:54:24 PDT 2018


sbc100 created this revision.
Herald added subscribers: llvm-commits, sunfish, aheejin, jgravelle-google, dschuff.

MCSymbol has getIndex/setIndex which are implementation defined
and on other platforms are used to store the symbol table
index.  It makes sense to use this rather than invent a new
mapping.


Repository:
  rL LLVM

https://reviews.llvm.org/D46555

Files:
  lib/MC/ELFObjectWriter.cpp
  lib/MC/MCAssembler.cpp
  lib/MC/MCFragment.cpp
  lib/MC/WasmObjectWriter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46555.145576.patch
Type: text/x-patch
Size: 5201 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180507/e00d9b77/attachment.bin>


More information about the llvm-commits mailing list