Commit dba9d76
committed
[lldb] Add DisassemblerLLVMC::IsBarrier API (llvm#169632)
This will allow the instruction emulation unwinder to reason about
instructions that prevent the subsequent instruction from executing.
Part of a sequence of PRs:
[lldb][NFCI] Rewrite UnwindAssemblyInstEmulation in terms of a CFG visit
llvm#169630
[lldb][NFC] Rename forward_branch_offset to branch_offset in
UnwindAssemblyInstEmulation llvm#169631
[lldb] Add DisassemblerLLVMC::IsBarrier API llvm#169632
[lldb] Handle backwards branches in UnwindAssemblyInstEmulation llvm#169633
commit-id:bb5df4aa
(cherry picked from commit 2b725ab)1 parent 298e62f commit dba9d76
File tree
3 files changed
+22
-0
lines changed- lldb
- include/lldb/Core
- source
- Core
- Plugins/Disassembler/LLVMC
3 files changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| 170 | + | |
| 171 | + | |
170 | 172 | | |
171 | 173 | | |
172 | 174 | | |
| |||
368 | 370 | | |
369 | 371 | | |
370 | 372 | | |
| 373 | + | |
| 374 | + | |
371 | 375 | | |
372 | 376 | | |
373 | 377 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1201 | 1201 | | |
1202 | 1202 | | |
1203 | 1203 | | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
1204 | 1209 | | |
1205 | 1210 | | |
1206 | 1211 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
436 | 437 | | |
437 | 438 | | |
438 | 439 | | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
439 | 445 | | |
440 | 446 | | |
441 | 447 | | |
| |||
1195 | 1201 | | |
1196 | 1202 | | |
1197 | 1203 | | |
| 1204 | + | |
1198 | 1205 | | |
1199 | 1206 | | |
1200 | 1207 | | |
| |||
1227 | 1234 | | |
1228 | 1235 | | |
1229 | 1236 | | |
| 1237 | + | |
1230 | 1238 | | |
1231 | 1239 | | |
1232 | 1240 | | |
| |||
1429 | 1437 | | |
1430 | 1438 | | |
1431 | 1439 | | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
1432 | 1445 | | |
1433 | 1446 | | |
1434 | 1447 | | |
| |||
0 commit comments