Commit 0048ac1
committed
[lldb] Add ability to inspect backing threads with
When OS plugins are present, it can be helpful to query information
about the backing thread behind an OS thread, if it exists. There is no
mechanism to do so prior to this commit.
As a first step, this commit enhances `thread info` with a
`--backing-thread` flag, causing the command to use the backing thread
of the selected thread, if it exists.
(cherry picked from commit 11b9466)thread info (llvm#129275)1 parent 541d218 commit 0048ac1
File tree
3 files changed
+36
-0
lines changed- lldb
- source/Commands
- test/API/functionalities/plugins/python_os_plugin
3 files changed
+36
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1283 | 1283 | | |
1284 | 1284 | | |
1285 | 1285 | | |
| 1286 | + | |
1286 | 1287 | | |
1287 | 1288 | | |
1288 | 1289 | | |
| |||
1299 | 1300 | | |
1300 | 1301 | | |
1301 | 1302 | | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
1302 | 1307 | | |
1303 | 1308 | | |
1304 | 1309 | | |
| |||
1311 | 1316 | | |
1312 | 1317 | | |
1313 | 1318 | | |
| 1319 | + | |
1314 | 1320 | | |
1315 | 1321 | | |
1316 | 1322 | | |
| |||
1347 | 1353 | | |
1348 | 1354 | | |
1349 | 1355 | | |
| 1356 | + | |
| 1357 | + | |
1350 | 1358 | | |
1351 | 1359 | | |
1352 | 1360 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1115 | 1115 | | |
1116 | 1116 | | |
1117 | 1117 | | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
1118 | 1121 | | |
1119 | 1122 | | |
1120 | 1123 | | |
| |||
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
134 | 154 | | |
135 | 155 | | |
136 | 156 | | |
| |||
209 | 229 | | |
210 | 230 | | |
211 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
212 | 237 | | |
213 | 238 | | |
214 | 239 | | |
| |||
0 commit comments