Visual Studio Developer Center > Visual Studio Forums > Phoenix > dumptags and aliasdump in c2Phase
Ask a questionAsk a question
 

Questiondumptags and aliasdump in c2Phase

  • Monday, June 01, 2009 8:01 AMif if Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,
    Is there a way to dump the alias information in a compilation with a custom Phoenix Phase, using some option similar to          -dumptags and -aliasdump which are used for printing this information for any Phoenix-based tool.

    Regards,
    If If

All Replies

  • Wednesday, June 03, 2009 4:45 PMAndy Ayers - MSFTModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Dumptags impacts the operand dumping code, so the only way to get it is to turn it on for real. You can enable it just for your phase by providing your phase a component control (say, called 'myphase') and then setting -d2dumptags:myphase.

    Aliasdump you can get anytime by calling functionUnit.AliasInfo.Dump().
    Architect - Microsoft Phoenix Project