Author: shenruifen
Date: 2012-05-01 23:38:26 -0400 (Tue, 01 May 2012)
New Revision: 3923
Modified:
trunk/osprey/be/com/clone_DST_utils.cxx
trunk/osprey/common/com/dwarf_DST_producer.cxx
trunk/osprey/common/com/dwarf_DST_producer.h
Log:
Fix Bug 973 - Abstract_origin is error when do DST_mk_cross_inlined_subroutine
C.R. by Mr Sun chan
Modified: trunk/osprey/be/com/clone_DST_utils.cxx
===================================================================
--- trunk/osprey/be/com/clone_DST_utils.cxx 2012-05-01 02:55:45 UTC (rev
3922)
+++ trunk/osprey/be/com/clone_DST_utils.cxx 2012-05-02 03:38:26 UTC (rev
3923)
@@ -817,7 +817,8 @@
fmod_time,
DST_SUBPROGRAM_decl_decl(attr),
filename,
- dirname);
+ dirname,
+ abstract_origin);
DST_append_child(parent, idx);
Modified: trunk/osprey/common/com/dwarf_DST_producer.cxx
===================================================================
--- trunk/osprey/common/com/dwarf_DST_producer.cxx 2012-05-01 02:55:45 UTC
(rev 3922)
+++ trunk/osprey/common/com/dwarf_DST_producer.cxx 2012-05-02 03:38:26 UTC
(rev 3923)
@@ -694,7 +694,8 @@
UINT64 fmod_time, /* Last file mod
time */
USRCPOS inl_decl, /* inline routine's
source position */
char *filename, /* ptr to filename
of the inlined routine */
- char *dirname) /* ptr to directory
path of the inlined routine */
+ char *dirname, /* ptr to directory
path of the inlined routine */
+ DST_INFO_IDX abstract_origin) /* The abstract
version of this subroutine */
{
DST_INFO_IDX info_idx;
@@ -702,7 +703,6 @@
DST_flag flag = DST_no_flag;
DST_INLINED_SUBROUTINE *attr;
USRCPOS decl; /* source position */
- DST_INFO_IDX abstract_origin = DST_FOREIGN_INIT;
mUINT16 file_id = 0;
USRCPOS_clear(decl);
Modified: trunk/osprey/common/com/dwarf_DST_producer.h
===================================================================
--- trunk/osprey/common/com/dwarf_DST_producer.h 2012-05-01 02:55:45 UTC
(rev 3922)
+++ trunk/osprey/common/com/dwarf_DST_producer.h 2012-05-02 03:38:26 UTC
(rev 3923)
@@ -720,7 +720,8 @@
UINT64 ,
USRCPOS ,
char *,
- char *);
+ char *,
+ DST_INFO_IDX );
#endif
#if defined(_SUPPORT_IPA) || defined(_STANDALONE_INLINER) ||
defined(_LEGO_CLONER)
------------------------------------------------------------------------------
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