[PATCH] D42625: [WebAssemly] Associate symbol with InputChunk in which they are defined. NFC.
Sam Clegg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 28 11:35:14 PST 2018
sbc100 created this revision.
Herald added subscribers: llvm-commits, aheejin.
Rather than explicit Function or InputSegment points store a
pointer to the base class (InputChunk) and use llvm dynamic
casts when we need a subtype.
This change is useful for add the upcoming gc-section support
wants to deal with all input chunks.
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D42625
Files:
wasm/InputChunks.h
wasm/InputFiles.cpp
wasm/InputFiles.h
wasm/SymbolTable.cpp
wasm/SymbolTable.h
wasm/Symbols.cpp
wasm/Symbols.h
wasm/Writer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42625.131713.patch
Type: text/x-patch
Size: 12807 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180128/5b59ab8b/attachment.bin>
More information about the llvm-commits
mailing list