Commit 456ca44
authored
[lldb][docs] Use section_iter() to iterate over sections
Iterating over an `SBModule` directly will give you symbols, not sections. According to the docs, we can use `section_iter()` to iterate over sections.
https://lldb.llvm.org/python_api/lldb.SBModule.html#lldb.SBModule1 parent f802acf commit 456ca44
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments