Commit 6fa80cc
committed
gdb/dwarf: add dwarf2_cu::find_die method
I added this small helper method in the series I'm writing, to make
finding a DIE by section offset a bit nicer than using the unordered_set
methods. It doesn't have any dependencies, so I thought I would submit
it on its own.
Change-Id: If7313194ab09d9bd6d6a52c24eb6fd9a9c1b76e0
Approved-by: Kevin Buettner <[email protected]>1 parent ac4a350 commit 6fa80cc
2 files changed
+13
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
102 | 111 | | |
103 | 112 | | |
104 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18260 | 18260 | | |
18261 | 18261 | | |
18262 | 18262 | | |
18263 | | - | |
18264 | | - | |
| 18263 | + | |
18265 | 18264 | | |
18266 | 18265 | | |
18267 | 18266 | | |
| |||
18629 | 18628 | | |
18630 | 18629 | | |
18631 | 18630 | | |
18632 | | - | |
18633 | | - | |
| 18631 | + | |
| 18632 | + | |
18634 | 18633 | | |
18635 | 18634 | | |
18636 | 18635 | | |
| |||
18639 | 18638 | | |
18640 | 18639 | | |
18641 | 18640 | | |
18642 | | - | |
| 18641 | + | |
18643 | 18642 | | |
18644 | 18643 | | |
18645 | 18644 | | |
| |||
0 commit comments