search for: removedeadfunct

Displaying 1 result from an estimated 1 matches for "removedeadfunct".

2011 Jul 01
0
[LLVMdev] Bug in Inliner w/ lazy bitcode
...problem comes from the Inliner removing SomeContainer::getPtr because it believes ("incorrectly") that it's unused (lib/Transforms/IPO/Inliner.cpp:539 in TOT). When the bitcode reader tries to materialize RunStuff, the call to getPtr fails to deserialize properly. It seems to me that removeDeadFunctions should exit early if it runs into _any_ functions that are still materializable as they may contain unseen calls. At the same time, I'm no expert on the linkonce_odr rules, so I'm not sure if this is really a "bug" or just a different design decision. Steps to reproduce (with...