Commit ef32c67
committed
Remove dladdr fallback and implementation
This has been present for a very long time but I believe this has never
actually been that necessary. Non-MSVC platforms all use libbacktrace by
default, and libbacktrace will consult symbol tables of object files to
do what `dladdr` does, just inside of libbacktrace. Additionally gimli
implements the same logic. I believe that this means that `dladdr` isn't
necessary for resolving any symbols since our other strategies should
already be doing everything for us.
This commit makes the feature defunkt and otherwise removes the various
forms of fallback to dladdr.1 parent df444be commit ef32c67
8 files changed
Lines changed: 29 additions & 275 deletions
File tree
- crates/without_debuginfo
- src/symbolize
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | 84 | | |
88 | 85 | | |
89 | 86 | | |
90 | 87 | | |
91 | 88 | | |
92 | 89 | | |
93 | | - | |
94 | 90 | | |
95 | 91 | | |
96 | 92 | | |
| |||
105 | 101 | | |
106 | 102 | | |
107 | 103 | | |
| 104 | + | |
108 | 105 | | |
109 | 106 | | |
110 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | 15 | | |
19 | 16 | | |
20 | 17 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
632 | 631 | | |
633 | 632 | | |
634 | 633 | | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
639 | 640 | | |
640 | 641 | | |
641 | 642 | | |
| |||
650 | 651 | | |
651 | 652 | | |
652 | 653 | | |
| 654 | + | |
653 | 655 | | |
654 | 656 | | |
655 | | - | |
| 657 | + | |
| 658 | + | |
656 | 659 | | |
657 | 660 | | |
658 | 661 | | |
659 | 662 | | |
660 | 663 | | |
661 | 664 | | |
662 | 665 | | |
663 | | - | |
| 666 | + | |
664 | 667 | | |
665 | | - | |
| 668 | + | |
666 | 669 | | |
667 | 670 | | |
668 | 671 | | |
669 | 672 | | |
670 | 673 | | |
671 | 674 | | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
680 | | - | |
681 | | - | |
682 | | - | |
683 | | - | |
684 | | - | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
692 | | - | |
693 | | - | |
694 | | - | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | 675 | | |
708 | 676 | | |
709 | 677 | | |
| |||
717 | 685 | | |
718 | 686 | | |
719 | 687 | | |
720 | | - | |
721 | | - | |
722 | | - | |
723 | 688 | | |
724 | 689 | | |
725 | 690 | | |
726 | 691 | | |
727 | 692 | | |
728 | | - | |
729 | 693 | | |
730 | 694 | | |
731 | 695 | | |
| |||
736 | 700 | | |
737 | 701 | | |
738 | 702 | | |
739 | | - | |
740 | 703 | | |
741 | 704 | | |
742 | 705 | | |
743 | 706 | | |
744 | 707 | | |
745 | 708 | | |
746 | 709 | | |
747 | | - | |
748 | 710 | | |
749 | 711 | | |
750 | 712 | | |
| |||
755 | 717 | | |
756 | 718 | | |
757 | 719 | | |
758 | | - | |
759 | 720 | | |
760 | 721 | | |
761 | 722 | | |
| |||
766 | 727 | | |
767 | 728 | | |
768 | 729 | | |
769 | | - | |
770 | 730 | | |
771 | 731 | | |
772 | 732 | | |
| |||
0 commit comments