[Lldb-commits] [PATCH] D68005: Make dw_tag_t a llvm::dwarf::Tag
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 24 19:03:08 PDT 2019
JDevlieghere created this revision.
JDevlieghere added reviewers: labath, clayborg, shafik.
Herald added a subscriber: aprantl.
Herald added a project: LLDB.
When talking to Shafik about D67994 <https://reviews.llvm.org/D67994>, we discovered that `dw_tag_t` is a typedef for `uint16_t`. I believe it would be better to typedef it to `llvm::dwarf::Tag` instead, so we can use the full power of the DWARF utilities in LLVM without having to do the cast. With this approach, we only have to do the cast when reading the ULEB value.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4807 bytes
Desc: not available
More information about the lldb-commits