Wiki Roadmap Timeline Tickets New Ticket Source Search Help / Guide About Trac Login

Changeset 557:aef77ae1d32c

Show
Ignore:
Timestamp:
08/29/08 08:16:18 (4 years ago)
Author:
Christian Kamm <kamm incasoftware de>
branch:
default
Message:

Enable unwind code on darwin.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • runtime/internal/eh.d

    r495 r557  
    1010// debug = EH_personality; 
    1111 
    12 // current EH implementation works on x86 linux only 
    13 version(X86) version(linux) version=X86_LINUX; 
     12// current EH implementation works on x86 
     13// if it has a working unwind runtime 
     14version(X86) { 
     15    version(linux) version=X86_UNWIND; 
     16    version(darwin) version=X86_UNWIND; 
     17
    1418 
    1519private extern(C) void abort(); 
     
    5862    } 
    5963 
    60 version(X86_LINUX)  
     64version(X86_UNWIND)  
    6165{ 
    6266    void _Unwind_Resume(_Unwind_Exception*); 
     
    162166 
    163167// 
    164 // x86 Linux specific implementation of personality function 
     168// x86 unwind specific implementation of personality function 
    165169// and helpers 
    166170// 
    167 version(X86_LINUX)  
     171version(X86_UNWIND)  
    168172{ 
    169173 
Copyright © 2008, LDC Development Team.