cplusplus / papers

ISO/IEC JTC1 SC22 WG21 paper scheduling and management
623 stars 18 forks source link

P2490 Zero-overhead exception stacktraces #1146

Open wg21bot opened 2 years ago

wg21bot commented 2 years ago

P2490R0 Zero-overhead exception stacktraces (Ed Catmur)

cor3ntin commented 2 years ago

This paper is in reply to #1056 As i understand it, the solutions explored impact core and should be discussed (jointly?) by both EWG and LEWG

brycelelbach commented 2 years ago

2022-06-21 Library Evolution Telecon

P2370R2: Stacktrace from exception

2022-06-21 Library Evolution Telecon Minutes

P2490R0: Zero-overhead exception stacktraces

2022-06-21 Library Evolution Telecon Minutes

Chair: Bryce Adelstein Lelbach

Minute Taker: Ben Craig

Champion: Antony Polukhin (P2370) & Ed Catmur (P2490)

Start: 2022-06-21 11:51 Eastern

Does P2370 have:

This needs to be seen by Evolution.

P2380R2 proposes capturing the stacktrace at the throw side and allows you to globally or per-thread enable/disable capturing stacktraces.

P2490R0 proposes to capture the stacktrace at entering the catch block rather than at the throw side.

End: 12:17

Summary

P2380R2 (Stacktrace from exceptions) and P2490R0 (Zero-overhead exception stacktraces) propose mechanisms for attaching stacktraces to exceptions. P2380R2 proposes capturing the stacktrace at the throw side and allows you to globally or per-thread enable/disable capturing stacktraces. P2490R0 proposes to capture the stacktrace at entering the catch block rather than at the throw side.

It became apparent during Library Evolution's review of these papers that they should be seen by Evolution first. Once Evolution has decided upon a design direction for this feature, Library Evolution can review the Standard Library exposure of the feature.

Next Steps

Send P2380R2 (Stacktrace from exceptions) and P2490R0 (Zero-overhead exception stacktraces) to Evolution.

wg21bot commented 2 years ago

P2490R3 Zero-overhead exception stacktraces (Ed Catmur)