Hi, all,
if I have the following statement, such as:
test.c
.
LINE:18 *p =2
for the above ISTORE node, how can I get the filename and line number
information, for line number,
in the common/com/wn_core.cxx, there is a function:
/*REFERENCED*/
inline INT64 WN_Get_Linenum(const WN *wn)
{
if (OPCODE_has_next_prev(WN_opcode(wn))) {
return WN_linenum(wn);
} else {
return 0;
}
}
but how about file name? is there a similar API I can use?
intra-procedurally, there is a global variable "Orig_Src_File_Name" I can
use,
how about in IPA before the final transformation?
Thanks.
TIanwei
--
Sheng, Tianwei
Inst. of High Performance Computing
Dept. of Computer Sci. & Tech.
Tsinghua Univ.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel