[LLVMdev] GCMetadataPrinter::finishAssembly called twice

Manuel Jacob me at manueljacob.de
Sun Jan 25 03:42:42 PST 2015


Hello Philip,

it seems like r226311 [1] introduced a bug which causes finishAssembly() 
to be called multiple times, even if there is only one strategy.  For 
each function, GCModuleInfo::getFunctionInfo() adds the strategy to the 
StrategyList instance variable.  AsmPrinter::doFinalization() calls 
finishAssembly() for each strategy in this list.

-Manuel

[1] http://reviews.llvm.org/rL226311



More information about the llvm-dev mailing list