aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/SourceMgr.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2014-03-06 04:55:28 +0000
committerBob Wilson <bob.wilson@apple.com>2014-03-06 04:55:28 +0000
commit749ebc7f33de3ea3f3212daa3bdcd958b1ca0ff6 (patch)
tree8bfde667a6aa02a63fbd236f74ddd703930f5663 /llvm/lib/Support/SourceMgr.cpp
parent3c57aa4111289fb51026dae96739aaa3d20c7d3c (diff)
downloadllvm-749ebc7f33de3ea3f3212daa3bdcd958b1ca0ff6.zip
llvm-749ebc7f33de3ea3f3212daa3bdcd958b1ca0ff6.tar.gz
llvm-749ebc7f33de3ea3f3212daa3bdcd958b1ca0ff6.tar.bz2
PGO: don't emit counter increment if no counters have been allocated.
I hit this while debugging another issue where my sources were in an inconsistent state, so I don't have a testcase. Regardless, this check is simpler and more direct than checking if the option is enabled. llvm-svn: 203072
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions