Change IRObjectFile to parse the bitcode lazily.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 18 Jun 2014 19:05:24 +0000 (19:05 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 18 Jun 2014 19:05:24 +0000 (19:05 +0000)
commit8af5cb2c282456ed24af65841fa0840f22df717f
treeb7b3e07677dcaa348459706467e0aaf46a196d97
parent868050a667ee360c3d0f8e0345390839d1a23c4b
Change IRObjectFile to parse the bitcode lazily.

The main point of this class is to provide a cheap object interface to a bitcode
file, so it has to be as lazy as possible.

llvm-svn: 211207
llvm/lib/Object/IRObjectFile.cpp