[PATCH] D31921: Object: Factor out the code for creating the irsymtab for an arbitrary bitcode file.
Teresa Johnson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 11 14:26:47 PDT 2017
tejohnson added a comment.
In https://reviews.llvm.org/D31921#724231, @pcc wrote:
> The irsymtab interface lives at a lower layer than IRObjectFile, as the irsymtab interface is specifically designed for IR symbol tables as opposed to the generic object file interface exposed by ObjectFile. I see this function as the layer between the raw irsymtab reader interface and clients such as IRObjectFile (and LTO, etc). So it doesn't seem appropriate for this function to live alongside one specific client, and it doesn't really deserve its own file/namespace, so it might as well live alongside irsymtab.
What I don't like is that this is not just parsing the irsymtab structures, but also the modules themselves.
https://reviews.llvm.org/D31921
More information about the llvm-commits
mailing list