summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-10-24 18:13:04 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-10-24 18:13:04 +0000
commitd4bcefc7d9ff16710b2509e494614b5c08013567 (patch)
treeb3737bb77e7daf33769e961cbb2cdf4e94d99faa /llvm/lib/Bitcode/Reader/BitcodeReader.h
parentf924e11967750e5e269e063a22fc495799cfab6d (diff)
downloadbcm5719-llvm-d4bcefc7d9ff16710b2509e494614b5c08013567.tar.gz
bcm5719-llvm-d4bcefc7d9ff16710b2509e494614b5c08013567.zip
Don't ever call materializeAllPermanently during LTO.
To do this, change the representation of lazy loaded functions. The previous representation cannot differentiate between a function whose body has been removed and one whose body hasn't been read from the .bc file. That means that in order to drop a function, the entire body had to be read. llvm-svn: 220580
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.h')
-rw-r--r--llvm/lib/Bitcode/Reader/BitcodeReader.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.h b/llvm/lib/Bitcode/Reader/BitcodeReader.h
index c9525661ec1..9f0f6686121 100644
--- a/llvm/lib/Bitcode/Reader/BitcodeReader.h
+++ b/llvm/lib/Bitcode/Reader/BitcodeReader.h
@@ -223,7 +223,6 @@ public:
void releaseBuffer();
- bool isMaterializable(const GlobalValue *GV) const override;
bool isDematerializable(const GlobalValue *GV) const override;
std::error_code Materialize(GlobalValue *GV) override;
std::error_code MaterializeModule(Module *M) override;
OpenPOWER on IntegriCloud