[llvm] [AsmPrinter][DebugNames] Implement DW_IDX_parent entries (PR #77457)

Felipe de Azevedo Piovezan via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 12 07:59:48 PST 2024


felipepiovezan wrote:

> I meant it might be marginally cheaper to be able to parse the DIE from the unnamed entry than to have to parse all the DWARF in the CU to find the parent.

Ohh, I understand your idea now. Such entries would _only_ be accessible through IDX_parent links.
Yeah, that should work. It would require some changes in building phase of AsmPrinter's accelerator table class.

https://github.com/llvm/llvm-project/pull/77457


More information about the llvm-commits mailing list