AliasSummary Hello I've been trying to access the Summary Record of AliasSummary type, by having a custom pass, which has CxxIL ReaderPhase, followed by Alias analysis Phase, followed by a custom phase, which tries to access the summary record using callGraph.SummaryManager.HasSummary(node, Phx.Graphs.AliasSummary.Type)<br/><br/>However, this call always returns false, unless executed in a phase after CxxIL Reader Phase of the C2 codegen pass. <br/><br/>Can someone please help. I'm using the -O2 flag.<br/><br/>Regards,<br/>If If© 2009 Microsoft Corporation. All rights reserved.Thu, 11 Jun 2009 07:07:14 Zd66fa8ec-34f0-48fe-bb83-d8092f78820fhttp://social.msdn.microsoft.com/Forums/en-US/phoenix/thread/d66fa8ec-34f0-48fe-bb83-d8092f78820f#d66fa8ec-34f0-48fe-bb83-d8092f78820fhttp://social.msdn.microsoft.com/Forums/en-US/phoenix/thread/d66fa8ec-34f0-48fe-bb83-d8092f78820f#d66fa8ec-34f0-48fe-bb83-d8092f78820fif ifhttp://social.msdn.microsoft.com/Profile/en-US/?user=if%20ifAliasSummary Hello I've been trying to access the Summary Record of AliasSummary type, by having a custom pass, which has CxxIL ReaderPhase, followed by Alias analysis Phase, followed by a custom phase, which tries to access the summary record using callGraph.SummaryManager.HasSummary(node, Phx.Graphs.AliasSummary.Type)<br/><br/>However, this call always returns false, unless executed in a phase after CxxIL Reader Phase of the C2 codegen pass. <br/><br/>Can someone please help. I'm using the -O2 flag.<br/><br/>Regards,<br/>If IfWed, 03 Jun 2009 10:10:05 Z2009-06-03T10:10:05Zhttp://social.msdn.microsoft.com/Forums/en-US/phoenix/thread/d66fa8ec-34f0-48fe-bb83-d8092f78820f#5a549a9a-abd6-466d-91ec-35b57fccf958http://social.msdn.microsoft.com/Forums/en-US/phoenix/thread/d66fa8ec-34f0-48fe-bb83-d8092f78820f#5a549a9a-abd6-466d-91ec-35b57fccf958Andy Ayers - MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Andy%20Ayers%20-%20MSFTAliasSummary <p>What do you see if you set -d2verbosetracealiassummarydebug:1 ?</p><hr class="sig">Architect - Microsoft Phoenix ProjectThu, 04 Jun 2009 02:31:15 Z2009-06-04T02:31:15Zhttp://social.msdn.microsoft.com/Forums/en-US/phoenix/thread/d66fa8ec-34f0-48fe-bb83-d8092f78820f#4614550e-0976-42d2-9774-96c22e8abd16http://social.msdn.microsoft.com/Forums/en-US/phoenix/thread/d66fa8ec-34f0-48fe-bb83-d8092f78820f#4614550e-0976-42d2-9774-96c22e8abd16if ifhttp://social.msdn.microsoft.com/Profile/en-US/?user=if%20ifAliasSummary <p>The output doesn't change at all. Its exactly the same.<br/><br/>Regards,<br/>If If</p>Thu, 04 Jun 2009 08:02:51 Z2009-06-04T08:02:51Zhttp://social.msdn.microsoft.com/Forums/en-US/phoenix/thread/d66fa8ec-34f0-48fe-bb83-d8092f78820f#4841cb2c-85d0-4ae4-9952-371601854548http://social.msdn.microsoft.com/Forums/en-US/phoenix/thread/d66fa8ec-34f0-48fe-bb83-d8092f78820f#4841cb2c-85d0-4ae4-9952-371601854548Andy Ayers - MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Andy%20Ayers%20-%20MSFTAliasSummary I meant, what trace output do you see? If we publish an alias summary we emit a message when the trace option above is specified.<hr class="sig">Architect - Microsoft Phoenix ProjectThu, 11 Jun 2009 07:07:14 Z2009-06-11T07:07:14Z