[PATCH] D43036: Use a stable topological sort instead of std::stable_sort in DIE *DwarfCompileUnit::createScopeChildrenDIE()

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 7 11:41:40 PST 2018


aprantl created this revision.
aprantl added reviewers: vsapsai, davide.
Herald added a subscriber: JDevlieghere.

This addresses review feedback for https://reviews.llvm.org/D42940. The new code is somewhat more heavyweight, but it can now also detect cycles in the dependencies and actually works correctly.


https://reviews.llvm.org/D43036

Files:
  lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43036.133268.patch
Type: text/x-patch
Size: 3725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180207/074768a5/attachment.bin>


More information about the llvm-commits mailing list