Commit db3ca95
Summary:
This reverts commit 2fa1220.
This reverts commit b9496a7.
The patch #98344 causes a crash in LLDB when parsing some files like `numpy.libs/libgfortran-daac5196.so.5.0.0` on graviton (you can download it in https://drive.google.com/file/d/12ygLjJwWpzdYsrzBPp1JGiFHxcgM0-XY/view?usp=drive_link if you want to troubleshoot yourself).
The assert that is hit is the following:
```
llvm-project/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp:2452: std::pair<unsigned int, std::map<long unsigned int, lldb_private::AddressClass> > ObjectFileELF::ParseSymbolTable(lldb_private::Symtab*, lldb::user_id_t, lldb_private::Section*): Assertion `strtab->GetObjectFile() == this' failed.
[383588:383636:20240716,025305.572639:ERROR crashpad_client_linux.cc:780] Crashpad isn't enabled
```
This object file doesn't have apparently a strings table but LLDB still tries to process it due to the code that is being reverted.
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags:
Differential Revision: https://phabricator.intern.facebook.com/D60251733
1 parent ef6b2ad commit db3ca95
File tree
13 files changed
+22
-545
lines changed- lldb
- include/lldb/Host
- packages/Python/lldbsuite/test
- make
- source
- API
- Plugins
- SymbolFile/DWARF
- SymbolLocator
- SymbolVendor/ELF
- test/API/debuginfod
- Normal
- SplitDWARF
13 files changed
+22
-545
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | 36 | | |
39 | 37 | | |
40 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1053 | 1053 | | |
1054 | 1054 | | |
1055 | 1055 | | |
1056 | | - | |
1057 | | - | |
1058 | | - | |
1059 | | - | |
1060 | 1056 | | |
1061 | 1057 | | |
1062 | 1058 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | 216 | | |
223 | 217 | | |
224 | 218 | | |
| |||
367 | 361 | | |
368 | 362 | | |
369 | 363 | | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | 364 | | |
382 | 365 | | |
383 | 366 | | |
| |||
548 | 531 | | |
549 | 532 | | |
550 | 533 | | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | 534 | | |
556 | 535 | | |
557 | 536 | | |
| |||
590 | 569 | | |
591 | 570 | | |
592 | 571 | | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | 572 | | |
597 | 573 | | |
598 | 574 | | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | 575 | | |
603 | 576 | | |
604 | | - | |
605 | 577 | | |
606 | 578 | | |
607 | 579 | | |
| |||
642 | 614 | | |
643 | 615 | | |
644 | 616 | | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | 617 | | |
649 | 618 | | |
650 | 619 | | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | 620 | | |
655 | 621 | | |
656 | 622 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
775 | 775 | | |
776 | 776 | | |
777 | 777 | | |
778 | | - | |
779 | | - | |
780 | | - | |
781 | 778 | | |
782 | 779 | | |
783 | 780 | | |
| |||
1727 | 1724 | | |
1728 | 1725 | | |
1729 | 1726 | | |
1730 | | - | |
| 1727 | + | |
1731 | 1728 | | |
1732 | | - | |
| 1729 | + | |
1733 | 1730 | | |
1734 | 1731 | | |
1735 | 1732 | | |
1736 | | - | |
| 1733 | + | |
1737 | 1734 | | |
1738 | | - | |
| 1735 | + | |
1739 | 1736 | | |
1740 | 1737 | | |
1741 | 1738 | | |
1742 | 1739 | | |
1743 | | - | |
| 1740 | + | |
1744 | 1741 | | |
1745 | 1742 | | |
1746 | 1743 | | |
| |||
Lines changed: 13 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4299 | 4299 | | |
4300 | 4300 | | |
4301 | 4301 | | |
4302 | | - | |
4303 | 4302 | | |
4304 | 4303 | | |
4305 | 4304 | | |
4306 | 4305 | | |
4307 | 4306 | | |
4308 | | - | |
| 4307 | + | |
4309 | 4308 | | |
4310 | 4309 | | |
4311 | | - | |
4312 | | - | |
4313 | | - | |
4314 | | - | |
4315 | | - | |
4316 | | - | |
4317 | | - | |
4318 | | - | |
4319 | | - | |
4320 | | - | |
4321 | | - | |
4322 | | - | |
4323 | | - | |
4324 | | - | |
4325 | | - | |
4326 | | - | |
4327 | | - | |
4328 | | - | |
4329 | | - | |
4330 | | - | |
4331 | | - | |
4332 | | - | |
4333 | | - | |
| 4310 | + | |
| 4311 | + | |
| 4312 | + | |
| 4313 | + | |
| 4314 | + | |
| 4315 | + | |
| 4316 | + | |
| 4317 | + | |
| 4318 | + | |
| 4319 | + | |
| 4320 | + | |
| 4321 | + | |
4334 | 4322 | | |
4335 | 4323 | | |
4336 | 4324 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | 1 | | |
8 | 2 | | |
9 | 3 | | |
10 | 4 | | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | 47 | | |
66 | 48 | | |
67 | 49 | | |
| |||
105 | 87 | | |
106 | 88 | | |
107 | 89 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
| 90 | + | |
| 91 | + | |
117 | 92 | | |
118 | 93 | | |
119 | 94 | | |
| |||
This file was deleted.
0 commit comments