-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We now, the first time we encounter a foreign exception, throw a C++ exception through a frame that has a custom personality function and probe the layout of the __cxa_exception structure. We then use the offsets learned from this along with the public ABI functions for allocating the structure. At the same time, add a test that we are correctly setting the count of uncaught exceptions. Fixes #146
- Loading branch information
1 parent
76e081d
commit 69868a2
Showing
9 changed files
with
279 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
void cxx_throw(); | ||
|
||
__attribute((visibility("hidden")) | ||
int eh_trampoline() | ||
{ | ||
struct X { ~X() {} } x; | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.