Explorar o código

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

git-svn-id: branches/debug_eh@40436 -
Jonas Maebe %!s(int64=6) %!d(string=hai) anos
pai
achega
c0ce94528f
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      compiler/systems/i_linux.pas

+ 2 - 1
compiler/systems/i_linux.pas

@@ -381,7 +381,8 @@ unit i_linux;
             shortname    : 'Linux';
             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_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;
             unit_env     : 'LINUXUNITS';
             extradefines : 'UNIX;HASUNIX';