[PATCH] D25132: Invoke add-discriminator at -g0 -fsample-profile
Diego Novillo via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 3 07:00:08 PDT 2016
dnovillo added inline comments.
> AddDiscriminators.cpp:165
> - if (NoDiscriminators || !F.getSubprogram() ||
> - F.getParent()->getDwarfVersion() < 4)
> return false;
Is this the right check to perform? This check is needed to determine whether DWARF support exists for discriminators. How is that related to -g0?
https://reviews.llvm.org/D25132
More information about the llvm-commits
mailing list