Object: Make IRObjectFile own multiple modules and enumerate symbols from all modules.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 13 Dec 2016 20:20:17 +0000 (20:20 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 13 Dec 2016 20:20:17 +0000 (20:20 +0000)
commit45102a24c77ae8355afefa6a3cd3856474ff7e1c
tree5ff0fd26a07f88f9c95d9ef6a5dc50cd02e4b065
parentc5fecb4f1a857bd741c3296293cfcbf0e18ff623
Object: Make IRObjectFile own multiple modules and enumerate symbols from all modules.

This implements multi-module support in IRObjectFile.

Differential Revision: https://reviews.llvm.org/D26951

llvm-svn: 289578
llvm/include/llvm/Object/IRObjectFile.h
llvm/lib/Object/IRObjectFile.cpp
llvm/test/Object/Inputs/multi-module.ll [new file with mode: 0644]
llvm/test/Object/multi-module.ll [new file with mode: 0644]