summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/go/test.c
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-04-25 07:20:05 +0000
committerJustin Bogner <mail@justinbogner.com>2014-04-25 07:20:05 +0000
commit3212b18bbf8458cc9eabbb8938ffcef68af7473c (patch)
treea6a34cfd94abda04f87803cc83aaf126c18a3573 /compiler-rt/lib/tsan/go/test.c
parent6b88e3a5454219ee265e5624015a113266cce463 (diff)
downloadbcm5719-llvm-3212b18bbf8458cc9eabbb8938ffcef68af7473c.tar.gz
bcm5719-llvm-3212b18bbf8458cc9eabbb8938ffcef68af7473c.zip
CodeGen: Avoid instrumenting implicit Decls more effectively
We don't assign counters for implicit Decls, but we were emitting code to increment the (non-existent) counters and adding empty counter lists in the output. This fixes the checks in assignRegionCounters and emitInstrumentationData to do the right thing, and adds an assert for the pathological case of emitting zero counters. llvm-svn: 207203
Diffstat (limited to 'compiler-rt/lib/tsan/go/test.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud