On 2008-01-07, at 13:59, Evan Cheng wrote: > I don't know much about the GC work. But it is really necessary for > AsmPrinter to use any analysis info? That seems odd to me.
Hi Evan, Debug information has an analogue in the MachineModuleInfo pass, which you'll find is required from the target-specific subclasses of AsmPrinter. In both cases, these are ImmutablePasses (not analyses in any practical sense) and are used so that PassManager does the memory management. They store information collected during lowering. I would've put GC information in MMI except that the GC code is independent of MachineFoo. The shadow-stack algorithm works with the CBackend, as a for-instance. — Gordon _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits