[all-commits] [llvm/llvm-project] c5600a: [Debugify] Limit number of processed functions for...
Djordje Todorovic via All-commits
all-commits at lists.llvm.org
Thu Apr 21 05:00:29 PDT 2022
Author: Nikola Tesic <nikola.tesic at syrmia.com>
Date: 2022-04-21 (Thu, 21 Apr 2022)
[Debugify] Limit number of processed functions for original mode
Debugify in OriginalDebugInfo mode, does (DebugInfo) collect-before-pass & check-after-pass
for each instruction, which is pretty expensive. When used to analyze DebugInfo losses
in large projects (like LLVM), this raises the build time unacceptably.
This patch introduces a limit for the number of processed functions per compile unit.
By default, the limit is set to UINT_MAX (practically unlimited), and by using the introduced
option -debugify-func-limit the limit could be set to any positive integer number.
Differential revision: https://reviews.llvm.org/D115714
More information about the All-commits