Adrian Vogelsgesang
5af06ba7dc
[Coro][Debuginfo] Add debug info to __NoopCoro_ResumeDestroy function
...
With this commit, we now attach an `DISubprogram` to the LLVM-generated
`_NoopCoro_ResumeDestroy` function. Thereby, lldb can show a
`std::coroutine_handle` to a `std::noop_coroutine` as
```
continuation = coro frame = 0x555555560d98 {
resume = 0x0000555555555c50 (a.out`__NoopCoro_ResumeDestroy)
destroy = 0x0000555555555c50 (a.out`__NoopCoro_ResumeDestroy)
}
```
instead of
```
continuation = coro frame = 0x555555560d98 {
resume = 0x0000555555555c50 (a.out`___lldb_unnamed_symbol211)
destroy = 0x0000555555555c50 (a.out`___lldb_unnamed_symbol211)
}
```
I renamed the function from `NoopCoro.ResumeDestroy` to
`_NoopCoro_ResumeDestroy` because:
* the leading `_` makes sure this is a reserved name and should not
clash with any user-provided names
* the `.` was replaced by a `_`, so the name is now a valid identifier
in C, making it allows me to type its name in the debugger
Differential Revision: https://reviews.llvm.org/D132580
2022-08-26 05:49:52 -07:00
..
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-04-21 10:59:11 +08:00
2022-04-21 10:59:11 +08:00
2022-07-19 07:25:04 -07:00
2022-06-14 14:23:46 +08:00
2022-07-18 10:41:29 -07:00
2022-07-22 11:50:58 -07:00
2022-08-11 11:43:30 -07:00
2022-04-21 10:59:11 +08:00
2022-04-21 10:59:11 +08:00
2022-04-21 10:59:11 +08:00
2022-07-18 10:41:29 -07:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-04-21 10:59:11 +08:00
2022-04-21 10:59:11 +08:00
2022-07-07 10:47:09 +08:00
2022-04-19 11:04:24 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-07-18 13:14:52 +02:00
2022-06-27 10:54:56 +08:00
2022-07-15 10:18:17 +02:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-03-07 11:23:02 +01:00
2022-03-07 11:23:02 +01:00
2022-03-07 11:23:02 +01:00
2022-06-14 14:23:46 +08:00
2022-06-27 10:54:56 +08:00
2022-06-27 10:54:56 +08:00
2022-06-27 10:54:56 +08:00
2022-06-14 14:23:46 +08:00
2022-06-27 10:54:56 +08:00
2022-06-27 10:54:56 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-03-07 11:23:02 +01:00
2022-06-14 14:23:46 +08:00
2022-03-23 11:03:26 -07:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-08-26 05:49:52 -07:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-08-12 13:05:08 +08:00
2022-08-26 05:49:52 -07:00
2022-04-21 10:59:11 +08:00
2022-04-21 10:59:11 +08:00
2022-06-14 14:23:46 +08:00
2022-04-21 10:59:11 +08:00
2022-06-14 14:23:46 +08:00
2022-07-25 15:25:47 -04:00
2022-05-05 15:13:27 +08:00
2022-06-14 14:23:46 +08:00
2022-05-05 15:13:27 +08:00
2022-04-19 11:04:24 +08:00
2022-05-05 15:13:27 +08:00
2022-05-05 15:13:27 +08:00
2022-07-12 10:39:38 -07:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-07-25 17:29:00 -04:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-08-26 14:05:46 +08:00
2022-07-25 17:29:00 -04:00
2022-06-27 10:54:56 +08:00
2022-06-27 10:54:56 +08:00
2022-06-27 10:54:56 +08:00
2022-06-27 10:54:56 +08:00
2022-06-27 10:54:56 +08:00
2022-06-27 10:54:56 +08:00
2022-06-27 10:54:56 +08:00
2022-06-30 11:37:41 +08:00
2022-06-30 11:37:41 +08:00
2022-06-30 11:15:40 +08:00
2022-06-30 11:15:40 +08:00
2022-08-21 22:20:40 -04:00
2022-06-27 10:54:56 +08:00
2022-08-05 14:50:43 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-04-21 10:59:11 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-06-14 14:23:46 +08:00
2022-07-25 17:29:00 -04:00
2022-06-14 14:23:46 +08:00
2022-05-05 15:15:09 +08:00