OSDN Git Service

[Object] Allow iterating over an IRObjectFile's modules
authorJustin Bogner <mail@justinbogner.com>
Wed, 27 Jun 2018 17:58:32 +0000 (17:58 +0000)
committerJustin Bogner <mail@justinbogner.com>
Wed, 27 Jun 2018 17:58:32 +0000 (17:58 +0000)
commitf602599e6b360c49f8e9422f2c2d707e1ac1509f
treee7937e464629104672d9e7033c2ee13bd6fc519a
parent43d4585d619ade0f92047f6962ded0a4405ca428
[Object] Allow iterating over an IRObjectFile's modules

If you've already loaded an IRObjectFile and need access to the
Modules themselves you shouldn't have to reparse a byte stream to do
it. Adds an accessor for the modules in IRObjectFile.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335759 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/IRObjectFile.h