IR level addDiscriminator pass is guarded by DebugInfoForProfiling (set by option -fdebug-info-for-profiling). This patch syncs the logic for the MIR and IR level implementations. Differential Revision: https://reviews.llvm.org/D120536
5.2 KiB
5.2 KiB