2
0
Эх сурвалжийг харах

* changed function name emitted for interface wrappers, as otherwise the
stabs debug info uses the wrong symbol name (fixes win32 compilation
with stabs after r37961)

git-svn-id: trunk@37970 -

Jonas Maebe 7 жил өмнө
parent
commit
a1df776167

+ 1 - 1
compiler/ncgvmt.pas

@@ -1319,7 +1319,7 @@ implementation
                     { create wrapper code }
                     { create wrapper code }
                     tmplist:=tasmlist.create;
                     tmplist:=tasmlist.create;
                     new_section(tmplist,sec_code,tmps,target_info.alignment.procalign);
                     new_section(tmplist,sec_code,tmps,target_info.alignment.procalign);
-                    tmplist.Concat(tai_function_name.create(pd.procsym.RealName));
+                    tmplist.Concat(tai_function_name.create(tmps));
                     hlcg.init_register_allocators;
                     hlcg.init_register_allocators;
                     hlcg.g_intf_wrapper(tmplist,pd,tmps,ImplIntf.ioffset);
                     hlcg.g_intf_wrapper(tmplist,pd,tmps,ImplIntf.ioffset);
                     hlcg.done_register_allocators;
                     hlcg.done_register_allocators;