Overview
Comment: | Simplify detection of exception type |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
8b0ab1157cdedadf3d057b9674d609b8 |
User & Date: | js on 2024-04-24 22:39:00 |
Other Links: | manifest | tags |
Context
2024-04-24
| ||
22:52 | Add SerenityOS to platform.h check-in: 4853f41b75 user: js tags: trunk | |
22:39 | Simplify detection of exception type check-in: 8b0ab1157c user: js tags: trunk | |
2024-04-23
| ||
01:00 | Simplify calls to objfw-embed check-in: 569a7aa657 user: js tags: trunk | |
Changes
Modified configure.ac from [63f2b5a434] to [aab515e691].
︙ | |||
584 585 586 587 588 589 590 | 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 | - - + - - - + + - - + - - - - - - + + - - - - - + + - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + | ]) AS_IF([test x"$enable_seluid24" = x"yes"], [ AC_DEFINE(OF_SELUID24, 1, [Whether to use 24 bit selector UIDs]) ]) AC_MSG_CHECKING(for exception type) |
︙ |
Modified src/runtime/exception.m from [2f0f690e96] to [a631c06b73].
︙ | |||
29 30 31 32 33 34 35 | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | - + - - + + - - + - - - + + | #import "private.h" #import "macros.h" #ifdef OF_HAVE_THREADS # import "OFPlainMutex.h" #endif |
︙ | |||
126 127 128 129 130 131 132 | 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | - + | struct objc_exception { struct _Unwind_Exception { uint64_t class; void (*cleanup)( _Unwind_Reason_Code, struct _Unwind_Exception *); #ifndef HAVE_ARM_EHABI_EXCEPTIONS |
︙ | |||
239 240 241 242 243 244 245 | 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 | - + | } #endif #ifdef CXX_PERSONALITY static PERSONALITY_FUNC(cxx_personality) OF_WEAK_REF(CXX_PERSONALITY_STR); #endif |
︙ | |||
442 443 444 445 446 447 448 | 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 | - + | { uintptr_t IP = _Unwind_GetIP(ctx); const uint8_t *ptr = LSDA->callsites; *landingpad = 0; *actionRecords = NULL; |
︙ | |||
576 577 578 579 580 581 582 | 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 | - + | else if (filter < 0) OBJC_ERROR("Invalid filter!"); } while (displacement != 0); return 0; } |
︙ | |||
782 783 784 785 786 787 788 | 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 | - + | { objc_uncaught_exception_handler old = uncaughtExceptionHandler; uncaughtExceptionHandler = handler; return old; } |
︙ |