[PATCH] D70994: [dsymutil] Remove final recursive call in lookForChildDIEsToKeep (NFC)

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 19:32:00 PST 2019


JDevlieghere created this revision.
JDevlieghere added reviewers: friss, aprantl, avl.
Herald added a project: LLVM.

This patch is a follow-up to D70990 <https://reviews.llvm.org/D70990> and removes the final recursive call. With the current implementation the lookForChildDIEsToKeep algorithm is fully iterative using a worklist, without recursion. Just like the other patch, the dSYM generated for clang built in debug mode is byte-identical.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70994

Files:
  llvm/tools/dsymutil/DwarfLinker.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70994.232028.patch
Type: text/x-patch
Size: 10702 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191204/7ebdb575/attachment.bin>


More information about the llvm-commits mailing list