Commit f2e1027
authored
[lldb] Support discontinuous functions in another Disasembler overload (llvm#130987)
This overload is taking a StackFrame, so we just need to change how we
obtain the ranges out of it. A slightly fiddly aspect is the code which
tries to provide a default dissassembly range for the case where we
don't have a real one. I believe this case is only relevant for
symbol-based stack frames as debug info always has size/range for the
functions (if it didn't we wouldn't even resolve the stack frame to a
function), which is why I've split the handling of the two cases.
We already have a test case for disassembly of discontinuous functions
(in test/Shell/Commands/command-disassemble.s), so I'm not creating
another one as this is just a slightly different entry point into the
same code.1 parent 77ad061 commit f2e1027
1 file changed
+29
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
555 | | - | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
556 | 563 | | |
557 | 564 | | |
558 | 565 | | |
559 | | - | |
560 | | - | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
561 | 579 | | |
562 | 580 | | |
563 | 581 | | |
564 | 582 | | |
565 | 583 | | |
566 | 584 | | |
567 | | - | |
568 | | - | |
| 585 | + | |
| 586 | + | |
569 | 587 | | |
570 | | - | |
571 | | - | |
572 | | - | |
573 | | - | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
574 | 591 | | |
575 | | - | |
576 | | - | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
577 | 595 | | |
578 | 596 | | |
579 | 597 | | |
| |||
0 commit comments