aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/ModuleUtils.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-04-27 17:30:58 +0000
committerVedant Kumar <vsk@apple.com>2017-04-27 17:30:58 +0000
commit96d6ca7e8c4f6bce55134c2fca66fb9747ecfde8 (patch)
tree0aa691bab9cc77d1dda6a77ef089dffa1b1a35f1 /llvm/lib/Transforms/Utils/ModuleUtils.cpp
parentd36820f1edf4b5216f0fd42b28ae24dd0e2f0e94 (diff)
downloadllvm-96d6ca7e8c4f6bce55134c2fca66fb9747ecfde8.zip
llvm-96d6ca7e8c4f6bce55134c2fca66fb9747ecfde8.tar.gz
llvm-96d6ca7e8c4f6bce55134c2fca66fb9747ecfde8.tar.bz2
[Profile] Add off-by-default -Wprofile-instr-missing warning
Clang warns that a profile is out-of-date if it can't find a profile record for any function in a TU. This warning became noisy after llvm started allowing dead-stripping of instrumented functions. To fix this, this patch changes the existing profile out-of-date warning (-Wprofile-instr-out-of-date) so that it only complains about mismatched data. Further, it introduces a new, off-by-default warning about missing function data (-Wprofile-instr-missing). Differential Revision: https://reviews.llvm.org/D28867 llvm-svn: 301570
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions