瀏覽代碼

* use Dwarf-EH for Linux/x86-64 when using the LLVM code generator

git-svn-id: branches/debug_eh@40436 -
Jonas Maebe 6 年之前
父節點
當前提交
c0ce94528f
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      compiler/systems/i_linux.pas

+ 2 - 1
compiler/systems/i_linux.pas

@@ -381,7 +381,8 @@ unit i_linux;
             shortname    : 'Linux';
             shortname    : 'Linux';
             flags        : [tf_smartlink_sections,tf_needs_symbol_size,tf_needs_dwarf_cfi,
             flags        : [tf_smartlink_sections,tf_needs_symbol_size,tf_needs_dwarf_cfi,
                             tf_library_needs_pic,tf_needs_symbol_type,tf_files_case_sensitive,
                             tf_library_needs_pic,tf_needs_symbol_type,tf_files_case_sensitive,
-                            tf_has_winlike_resources,tf_safecall_exceptions,tf_safecall_clearstack];
+                            tf_has_winlike_resources,tf_safecall_exceptions,tf_safecall_clearstack
+                            {$ifdef llvm},tf_use_psabieh{$endif}];
             cpu          : cpu_x86_64;
             cpu          : cpu_x86_64;
             unit_env     : 'LINUXUNITS';
             unit_env     : 'LINUXUNITS';
             extradefines : 'UNIX;HASUNIX';
             extradefines : 'UNIX;HASUNIX';