Changeset 858a51f in mainline


Ignore:
Timestamp:
2018-07-05T21:41:17Z (6 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9dfdb03
Parents:
ef9d0988
git-author:
Jaroslav Jindrak <dzejrou@…> (2017-10-11 20:16:31)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:17)
Message:

cpp: added unwind to makefile and a missing declaration to unwind level 1

Location:
uspace/lib/cpp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/Makefile

    ref9d0988 r858a51f  
    4242        src/new.cpp \
    4343        src/typeinfo.cpp \
    44         src/internal/runtime.cpp
     44        src/internal/runtime.cpp \
     45        src/internal/unwind.cpp
    4546
    4647include $(USPACE_PREFIX)/Makefile.common
  • uspace/lib/cpp/src/internal/unwind.cpp

    ref9d0988 r858a51f  
    2626 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    2727 */
     28
     29#include <cstdint>
    2830
    2931namespace __cxxabiv1
     
    5961    /* Opaque structure. */
    6062    struct _Unwind_Context;
     63
     64    using _Unwind_Action = int;
     65    namespace
     66    {
     67        const _Unwind_Action _UA_SEARCH_PHASE  = 1;
     68        const _Unwind_Action _UA_CLEANUP_PHASE = 2;
     69        const _Unwind_Action _UA_HANDLER_FRAME = 4;
     70        const _Unwind_Action _UA_FORCE_HANDLER = 8;
     71    }
    6172
    6273    /**
Note: See TracChangeset for help on using the changeset viewer.