summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2015-05-13 22:03:04 +0000
committerJustin Bogner <mail@justinbogner.com>2015-05-13 22:03:04 +0000
commit82a645174ac3ce1ba1336e0187f297007a8ef403 (patch)
tree2d79b8f8db7c4aa8b171e9c013b8cfcfd26370a8 /clang/lib/Frontend/CompilerInvocation.cpp
parent307b3c4c303d7463b0292e16bd3f749458b68eb8 (diff)
downloadbcm5719-llvm-82a645174ac3ce1ba1336e0187f297007a8ef403.tar.gz
bcm5719-llvm-82a645174ac3ce1ba1336e0187f297007a8ef403.zip
InstrProf: Treat functions with a coverage map but no profile as unreached
If we have a coverage mapping but no profile data for a function, calling it mismatched is misleading. This can just as easily be unreachable code that was stripped from the binary. Instead, treat these the same as functions where we have an explicit "zero" coverage map by setting the count to zero for each mapped region. llvm-svn: 237298
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud