[PATCH] D96045: [llvm-dwarfdump][locstats] Unify handling of inlined vars with no loc

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 5 06:53:17 PST 2021


djtodoro updated this revision to Diff 321751.
djtodoro added a comment.

- Maintain one array of inlined vars per inlined instance by creating it on the stack
- Improve the test

TODO: Handle the case then DW_TAG_subprogram with DW_AT_inline comes after inlined instancies


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

https://reviews.llvm.org/D96045

Files:
  llvm/test/tools/llvm-dwarfdump/X86/locstats-for-inlined-vars.yaml
  llvm/tools/llvm-dwarfdump/Statistics.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96045.321751.patch
Type: text/x-patch
Size: 17367 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210205/c3218410/attachment.bin>


More information about the llvm-commits mailing list