[PATCH] D50495: [DebugInfo] Do not generate duplicated label debug info if it has been processed.

Hsiangkai Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 4 20:13:25 PDT 2018


HsiangKai added a comment.

Is there anything I should address?

Without this patch, it will generate two DW_TAG_label for the same label if retainedNodes also contains the label.
This patch will record processed labels in 'Processed' DenseSet to avoid generating duplicated DW_TAG_label for them.


Repository:
  rL LLVM

https://reviews.llvm.org/D50495





More information about the llvm-commits mailing list