Commit 22e3b04
authored
[EH] Simplify exception format message (#17003)
This makes exception format message format the same as that of
`demangling_terminate_handler`, which is called when an uncaught
exception terminates the program:
https://github.com/emscripten-core/emscripten/blob/d5ef6937fe395488e23a82c1e582a7ea5c2dab83/system/lib/libcxxabi/src/cxa_default_handlers.cpp#L62-L72
This removes 'address' from the message when an exception does not
inherit from `std::exception`, but I guess it's fine; we didn't print
the address in case of `std::exception` anyway.1 parent e5d6d6b commit 22e3b04
File tree
2 files changed
+10
-10
lines changed- system/lib/libcxxabi/src
- tests
2 files changed
+10
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | 37 | | |
40 | | - | |
41 | | - | |
| 38 | + | |
42 | 39 | | |
43 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1660 | 1660 | | |
1661 | 1661 | | |
1662 | 1662 | | |
1663 | | - | |
1664 | | - | |
1665 | | - | |
1666 | | - | |
1667 | | - | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
1668 | 1668 | | |
1669 | 1669 | | |
1670 | 1670 | | |
| |||
0 commit comments