瀏覽代碼

* 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 年之前
父節點
當前提交
a1df776167
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/ncgvmt.pas

+ 1 - 1
compiler/ncgvmt.pas

@@ -1319,7 +1319,7 @@ implementation
                     { create wrapper code }
                     tmplist:=tasmlist.create;
                     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.g_intf_wrapper(tmplist,pd,tmps,ImplIntf.ioffset);
                     hlcg.done_register_allocators;