This is an archive of the discontinued LLVM Phabricator instance.

Move SymbolTable::addFile to InputFiles.cpp.
ClosedPublic

Authored by ruiu on May 13 2019, 5:56 AM.

Details

Summary

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

Diff Detail

Repository
rL LLVM