When talking to Shafik about 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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Thanks for doing this! I spent a bunch of time trying to understand that relationship yesterday.
so should this be llvm::dwarf::Attribute?