wallace added a comment.
I found the issue: https://reviews.llvm.org/D107434
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103172/new/
https://reviews.llvm.org/D103172
___
lldb-commits mailing list
wallace added subscribers: clayborg, wallace.
wallace added a comment.
This breaks debugging in many cases :( Many of my users started reporting
crashes in LLDB when setting source line breakpoints.
For example, a simple command like `(lldb) b TransAttr.cpp:758` causes a crash
and has the
dblaikie added inline comments.
Comment at: lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.h:97-105
+ template
+ llvm::iterator_range children() const {
+return llvm::make_range(T(*this), T());
+ }
+};
+
+class DWARFDIE::child_iterator
rather than a
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG77440d644b3b: [lldb][NFC] Allow range-based for loops over
DWARFDIEs children (authored by teemperor).
Herald added a subscriber: lldb-commits.
JDevlieghere accepted this revision.
JDevlieghere added a comment.
LGTM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103172/new/
https://reviews.llvm.org/D103172
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
teemperor added a comment.
ping.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103172/new/
https://reviews.llvm.org/D103172
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
teemperor added inline comments.
Comment at: lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.h:117
+// (CU, (DIE)nullptr) == (nullptr, nullptr) -> true
+if (!m_die.IsValid() && !it.m_die.IsValid())
+ return true;
shafik wrote:
> I think:
>
> ```
>
teemperor updated this revision to Diff 352666.
teemperor added a comment.
Herald added a subscriber: mgorny.
- Added a unit test (thanks Shafik!)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103172/new/
https://reviews.llvm.org/D103172
Files:
shafik added inline comments.
Comment at: lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.h:117
+// (CU, (DIE)nullptr) == (nullptr, nullptr) -> true
+if (!m_die.IsValid() && !it.m_die.IsValid())
+ return true;
I think:
```
bool operator==(const
teemperor created this revision.
teemperor added a reviewer: LLDB.
teemperor added a project: LLDB.
Herald added a subscriber: JDevlieghere.
Herald added a reviewer: shafik.
teemperor requested review of this revision.
This patch adds the ability to get a DWARFDIE's children as an LLVM range.
10 matches
Mail list logo