[PATCH] D27073: Object: Extract a ModuleSymbolTable class from IRObjectFile.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 23 16:08:38 PST 2016


pcc created this revision.
pcc added a reviewer: mehdi_amini.
pcc added subscribers: llvm-commits, rafael.
pcc added a dependency: D26928: Object: Simplify the IRObjectFile symbol iterator implementation..
Herald added a subscriber: mgorny.

This class represents a symbol table built from in-memory IR. It provides
access to GlobalValues and should only be used if such access is required
(e.g. in the LTO implementation). We will eventually change IRObjectFile
to read from a bitcode symbol table rather than using ModuleSymbolTable,
so it would not be able to expose the module.

Depends on https://reviews.llvm.org/D26928


https://reviews.llvm.org/D27073

Files:
  llvm/include/llvm/Object/IRObjectFile.h
  llvm/include/llvm/Object/ModuleSymbolTable.h
  llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
  llvm/lib/LTO/LTOBackend.cpp
  llvm/lib/Object/CMakeLists.txt
  llvm/lib/Object/IRObjectFile.cpp
  llvm/lib/Object/ModuleSymbolTable.cpp
  llvm/lib/Transforms/IPO/FunctionImport.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27073.79165.patch
Type: text/x-patch
Size: 18784 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161124/affb3190/attachment.bin>


More information about the llvm-commits mailing list