In D70646 I broke http://lab.llvm.org:8080/green/view/LLDB/job/lldb-cmake/7400/ so this is a second attempt.
Unfortunately I do not have reproducible the breakage of Green Dragon locally.
The bug was that DWARFDebugInfoEntry::GetDWARFDeclContext reversed order of the items, that is fixed now.
OK for check-in? It is no longer so pretty but still worth it IMO.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Yes, I agree this is better.
One way to this could be improved further is to change the recursion in GetDWARFDeclContext into a loop (then you wouldn't need the extra wrapper).
Comment Actions
True, I am stupid. But then I find there a need for the static method (as having this and iterating die pointer is error-prone).