Author: zhuqing Date: 2012-08-09 23:08:39 -0400 (Thu, 09 Aug 2012) New Revision: 4002
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 for undefined symbol error caused by rev 3993. Static function can't be declared as extern. Author of this patch: xiaojing-zhang Code Review:Jian-xin Modified: trunk/osprey/be/com/clone_DST_utils.cxx =================================================================== --- trunk/osprey/be/com/clone_DST_utils.cxx 2012-08-03 05:50:27 UTC (rev 4001) +++ trunk/osprey/be/com/clone_DST_utils.cxx 2012-08-10 03:08:39 UTC (rev 4002) @@ -755,7 +755,6 @@ file = DST_FILE_IDX_TO_PTR(callee_idx); file_size = DST_FILE_NAME_size(file); fmod_time = DST_FILE_NAME_modt(file); - extern char *DST_get_dirname(mUINT16 ordinal); dirname = DST_get_dirname(DST_FILE_NAME_dir(file)); filename = DST_STR_IDX_TO_PTR(DST_FILE_NAME_name(file)); Modified: trunk/osprey/common/com/dwarf_DST_producer.cxx =================================================================== --- trunk/osprey/common/com/dwarf_DST_producer.cxx 2012-08-03 05:50:27 UTC (rev 4001) +++ trunk/osprey/common/com/dwarf_DST_producer.cxx 2012-08-10 03:08:39 UTC (rev 4002) @@ -587,7 +587,7 @@ } /* get the include directory name of a given ordinal */ -static char * +char * DST_get_dirname(mUINT16 ordinal) { DST_DIR_IDX d_idx = DST_get_include_dirs(); Modified: trunk/osprey/common/com/dwarf_DST_producer.h =================================================================== --- trunk/osprey/common/com/dwarf_DST_producer.h 2012-08-03 05:50:27 UTC (rev 4001) +++ trunk/osprey/common/com/dwarf_DST_producer.h 2012-08-10 03:08:39 UTC (rev 4002) @@ -702,6 +702,9 @@ extern char * DST_get_file(mUINT16 , UINT64 *, UINT64 *, char **); +extern char * +DST_get_dirname(mUINT16); + extern void DST_subprogram_concrete_to_abstract(DST_INFO_IDX); ------------------------------------------------------------------------------ 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