[PATCH] D107875: [DWARF] Add findAttribute to DWARFAbbreviationDeclaration

Alexander Yermolovich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 13 17:12:22 PDT 2021


ayermolo added a comment.

In D107875#2942329 <https://reviews.llvm.org/D107875#2942329>, @dblaikie wrote:

> These values could be computed from the index in AttributeSpecs, right? Maybe that'd be better, rather than adding memory overhead to every use of libDebugInfoDWARF?

Sorry it's not clear to me how it can be calculated index in AttributeSpecs.
You mean like iterate over abbrev section and build a map?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107875/new/

https://reviews.llvm.org/D107875



More information about the llvm-commits mailing list