commit | 68b02dcd543f7c962dd0c4293044ebb629ab7360 | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Fri Oct 24 18:13:04 2014 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Fri Oct 24 18:13:04 2014 +0000 |
tree | 0d43a34b7e81aade64134179b3e5a514f8b69655 | |
parent | 51fa1bcef3346f3d127ae405dc0de6011c19be24 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220580 91177308-0d34-0410-b5e6-96231b3b80d8