Looks good to me. 2012/8/15 Yulei Sui <[email protected]>: > Hello, > > If IPA Siloed analysis option(IPA_Enable_Siloed_Ref) is not enabled, writing > summary of Siloed into BE, will trigger a null pointer scenario by invoking > "Get_siloed_references". A quick fix is as follows: > > Index: osprey/ipa/main/analyze/ipa_be_write.cxx > =================================================================== > --- osprey/ipa/main/analyze/ipa_be_write.cxx (revision 4007) > +++ osprey/ipa/main/analyze/ipa_be_write.cxx (working copy) > @@ -382,6 +382,7 @@ > cur_hdr->cgNodeIdsIdx(cg_nodeids.Lastidx() - num_nodeids + 1); > cur_hdr->cgNodeIdsCount(num_nodeids); > > + if(IPA_Enable_Siloed_Ref){ > // Siloed refrences > const ALIAS_TAG_SET &siloed_tag_set = > IPA_Concurrency_Graph->Get_siloed_references(ipa_node); > @@ -400,6 +401,7 @@ > > cur_hdr->siloedReferenceIdx(siloed_references.Lastidx() - > num_siloedrefs + 1); > cur_hdr->siloedReferenceCount(num_siloedrefs); > + } > > if (Get_Trace(TP_ALIAS,NYSTROM_SUMMARY_FLAG)) > fprintf(stderr,"xxx nodes = %d, stinfos = %d, callsites = %d, nodeids > = %d\n", > > > > > Thanks > Regards > Yulei > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Open64-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/open64-devel >
-- Regards, Lai Jian-Xin ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Open64-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/open64-devel
