Browse Source

Disable 37973 for AIX specific stabx format

git-svn-id: trunk@37995 -
pierre 7 years ago
parent
commit
61d0d8717a
1 changed files with 4 additions and 3 deletions
  1. 4 3
      compiler/ncgvmt.pas

+ 4 - 3
compiler/ncgvmt.pas

@@ -1323,9 +1323,10 @@ implementation
                     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;
-                    if (cs_debuginfo in current_settings.moduleswitches) or
-                       (cs_use_lineinfo in current_settings.globalswitches) then
-                      current_debuginfo.insertlineinfo(tmplist);
+                    if ((cs_debuginfo in current_settings.moduleswitches) or
+                       (cs_use_lineinfo in current_settings.globalswitches)) and
+                       (target_dbg.id<>dbg_stabx) then
+                         current_debuginfo.insertlineinfo(tmplist);
                     list.concatlist(tmplist);
                     list.concatlist(tmplist);
                     tmplist.Free;
                     tmplist.Free;
                     current_filepos:=oldfileposinfo;
                     current_filepos:=oldfileposinfo;