[PATCH] D61854: Move SymbolTable::addFile to InputFiles.cpp.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 13 05:56:58 PDT 2019
ruiu created this revision.
ruiu added reviewers: grimar, MaskRay, pcc.
Herald added subscribers: arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
The symbol table used to be a container of vectors of input files,
but that's no longer the case because the vectors are moved out of
SymbolTable and are now global variables.
Therefore, addFile doesn't have to belong to any class. This patch
moves the function out of the class.
This patch is a preparation for my RFC [1].
[1] http://lists.llvm.org/pipermail/llvm-dev/2019-April/131902.html
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D61854
Files:
lld/ELF/Driver.cpp
lld/ELF/InputFiles.cpp
lld/ELF/InputFiles.h
lld/ELF/SymbolTable.cpp
lld/ELF/SymbolTable.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61854.199258.patch
Type: text/x-patch
Size: 7772 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190513/a3cec3d8/attachment.bin>
More information about the llvm-commits
mailing list