I think you also need to modify the "ST_Init" to initialize the new field
newly added. Another suggestion, it would be great if this patch can be
split into saveral pieces.

2012/7/12 shenrfen <shenr...@gmail.com>

> Hi, all.****
>
>          ****
>
>          I would like add location info for Symbol tab.****
>
> ** **
>
> Could you please give a review? ****
>
> Any question please let me know. ****
>
> Any suggestion is welcome.****
>
> Thx very much.****
>
>          ****
>
>          Class ST {****
>
>                    ...****
>
>                    SRCPOS location;   // location where define symbol****
>
> }****
>
> ** **
>
> *Main work:*
>
> **(1)     **Add location info for ST at wgen phase****
>
> **(2)     **Remap location info at inline phase****
>
> **a)         **Remap Global st is the technical difficulties****
>
> **(3)     **Remap location info at IPA phase****
>
> **(4)     **Fix bug when –IPA:dst=on****
>
> **a)         **Add abstract_dst info for DST_INLINED_SUBROUTINE****
>
> ** **
>
>     DST_INFO_IDX   abstract_origin;  /* The abstract version of this
> instance */****
>
> +   DST_TYPE       abstract_dst;    /* dst where abstract_origin is
> located */ ****
>
>     ….****
>
> } DST_INLINED_SUBROUTINE;****
>
> ** **
>
> *New option:*
>
> **(1)     **Trace_IPA_Remap_Symtab_File_Num ( –Wj,-tt19:0x200000 )****
>
> **(2)     **–IPA:dst=on/off  (dst merge is done at inline phase)****
>
> **a)         **In previous version, this option is disable.****
>
> * *
>
> *The followed tests have been done:*
>
> **(1)     **there was only one dst finally, all function has been inlined*
> ***
>
> **(2)     **there was more than one dst finally, some function cannot be
> inline****
>
> **(3)     **more than 4 level inline(global st and local st)****
>
> **(4)     **all function is in one file & only one function in one file &
> middle case****
>
> **(5)     **Inline = on/off ****
>
> **(6)     **Nucleus Os can be passed, All local st and global st are
> checked.****
>
> ** **
>
> Best Regards****
>
> RuifenShen****
>
> ** **
>
>
> ------------------------------------------------------------------------------
> 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
> Open64-devel@lists.sourceforge.net
> 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
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to