소스 검색

* 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';
             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';