Separate parsing CTF and creating LLDB types. This is a prerequisite to parsing forward references and recursive types.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Although I'm not super knowledgable about CTF, this kind of refactor makes sense. LGTM.
lldb/source/Plugins/SymbolFile/CTF/CTFTypes.h | ||
---|---|---|
108 | did you omit this by accident? |
lldb/source/Plugins/SymbolFile/CTF/CTFTypes.h | ||
---|---|---|
108 | Yes, good eye. I need to see why my test didn't catch this. |
lldb/source/Plugins/SymbolFile/CTF/CTFTypes.h | ||
---|---|---|
108 | (also to add to the suggestion, probably best to use this->values.size() in the assert below to avoid a use-after-move; not sure which values takes precedence) |