diff options
author | Dehao Chen <dehao@google.com> | 2017-08-03 00:09:18 +0000 |
---|---|---|
committer | Dehao Chen <dehao@google.com> | 2017-08-03 00:09:18 +0000 |
commit | 2c27daf7c0dd74c42f454c13c0f4d8ca15d38f31 (patch) | |
tree | 4df77aaceb9779ca6e941189f6b7ba5ae5d83532 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 4cc7222872819e4242816e4ca5ae3fe3e21bb271 (diff) | |
download | bcm5719-llvm-2c27daf7c0dd74c42f454c13c0f4d8ca15d38f31.tar.gz bcm5719-llvm-2c27daf7c0dd74c42f454c13c0f4d8ca15d38f31.zip |
Fix the bug when SampleProfileWriter writes out number of callsites.
Summary: As we support multiple callsites for the same location, we need to traverse all locations to get the number of callsites.
Reviewers: davidxl
Reviewed By: davidxl
Subscribers: sanjoy, llvm-commits
Differential Revision: https://reviews.llvm.org/D36246
llvm-svn: 309907
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions