aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/ModuleDependencyCollector.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2016-03-29 23:19:40 +0000
committerAnna Zaks <ganna@apple.com>2016-03-29 23:19:40 +0000
commit1a470b6f7cc2530db8ef28222e5b094f7fdc8825 (patch)
tree4e2bd091d48056621241bf1beedac822f63c7cac /clang/lib/Frontend/ModuleDependencyCollector.cpp
parent0d234c382e87e57c083dc6853233b097e8b31f9c (diff)
downloadllvm-1a470b6f7cc2530db8ef28222e5b094f7fdc8825.zip
llvm-1a470b6f7cc2530db8ef28222e5b094f7fdc8825.tar.gz
llvm-1a470b6f7cc2530db8ef28222e5b094f7fdc8825.tar.bz2
[tsan] Do not instrument reads/writes to instruction profile counters.
We have known races on profile counters, which can be reproduced by enabling -fsanitize=thread and -fprofile-instr-generate simultaneously on a multi-threaded program. This patch avoids reporting those races by not instrumenting the reads and writes coming from the instruction profiler. llvm-svn: 264805
Diffstat (limited to 'clang/lib/Frontend/ModuleDependencyCollector.cpp')
0 files changed, 0 insertions, 0 deletions