summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2014-10-22 01:54:17 +0000
committerJim Ingham <jingham@apple.com>2014-10-22 01:54:17 +0000
commita672ecefef25bcc8cf0d7ac8d54c5139f6386df4 (patch)
tree1f5d8d1c4d1dfdcb42e3f3370625b6a2e03b27e4 /clang/lib/Serialization/ModuleManager.cpp
parent02306e1cdbf0df010dac241a973506f4e6ed23d5 (diff)
downloadbcm5719-llvm-a672ecefef25bcc8cf0d7ac8d54c5139f6386df4.tar.gz
bcm5719-llvm-a672ecefef25bcc8cf0d7ac8d54c5139f6386df4.zip
The breakpoint location hit counts were getting incremented in
BreakpointLocation::ShouldStop. That worked but wasn't really right, since there's nothing to guarantee that won't get called more than once. So this change moves that responsibility to the StopInfoBreakpoint directly, and then it uses the BreakpointSite to actually do the bumping. Also fix a test case that was assuming if you had many threads running some code with a breakpoint in it, the hit count when you stopped would always be 1. Many of the threads could have hit it at the same time... <rdar://problem/18577603> llvm-svn: 220358
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud