diff options
author | Michael Buch <michaelbuch12@gmail.com> | 2025-06-05 17:41:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-05 17:41:37 +0100 |
commit | 5a918923f37e49b426f117c691c83d29df8c955d (patch) | |
tree | 57922eae1b98237a1f3135e14da3dadef90a8a54 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 1463da8c4063cf1f1513aa5dbcedb44d2099c87f (diff) | |
download | llvm-5a918923f37e49b426f117c691c83d29df8c955d.zip llvm-5a918923f37e49b426f117c691c83d29df8c955d.tar.gz llvm-5a918923f37e49b426f117c691c83d29df8c955d.tar.bz2 |
[lldb][Format] Add [inlined] marker to names of inlined frames (#142952)
This was removed in https://github.com/llvm/llvm-project/pull/135343 in
favour of making it a format variable, which we do here. This follows
the precedent of the `[opt]` and `[artificial]` markers.
Before:
```
thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.2
* frame #0: 0x000000010000037c a.out`inlined1() at inline.cpp:4:3
frame #1: 0x000000010000037c a.out`regular() at inline.cpp:6:17
frame #2: 0x00000001000003b8 a.out`inlined2() at inline.cpp:7:43
frame #3: 0x00000001000003b4 a.out`main at inline.cpp:10:3
frame #4: 0x0000000186345be4 dyld`start + 7040
```
After (note the `[inlined]` markers):
```
thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.2
* frame #0: 0x000000010000037c a.out`inlined1() at inline.cpp:4:3 [inlined]
frame #1: 0x000000010000037c a.out`regular() at inline.cpp:6:17
frame #2: 0x00000001000003b8 a.out`inlined2() at inline.cpp:7:43 [inlined]
frame #3: 0x00000001000003b4 a.out`main at inline.cpp:10:3
frame #4: 0x0000000186345be4 dyld`start + 7040
```
rdar://152642178
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions