aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2015-10-16 18:54:35 +0000
committerDiego Novillo <dnovillo@google.com>2015-10-16 18:54:35 +0000
commitb93483dbce540b7888df4938dd984955ec8b0343 (patch)
tree83ffec1d008fd22bf64724772486d4fb1402990e /clang/lib/Frontend/CompilerInvocation.cpp
parent17af3f957e0f08d0ae77264992746cab736605f6 (diff)
downloadllvm-b93483dbce540b7888df4938dd984955ec8b0343.zip
llvm-b93483dbce540b7888df4938dd984955ec8b0343.tar.gz
llvm-b93483dbce540b7888df4938dd984955ec8b0343.tar.bz2
Sample profiles - Re-arrange binary format to emit head samples only on top functions.
The number of samples collected at the head of a function only make sense for top-level functions (i.e., those actually called as opposed to being inlined inside another). Head samples essentially count the time spent inside the function's prologue. This clearly doesn't make sense for inlined functions, so we were always emitting 0 in those. llvm-svn: 250539
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions