aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Parallel.cpp
diff options
context:
space:
mode:
authorMartin Pelikan <martin.pelikan@gmail.com>2017-10-04 05:12:00 +0000
committerMartin Pelikan <martin.pelikan@gmail.com>2017-10-04 05:12:00 +0000
commit68ea360ed1cd30baa0d11737f7223d2e429262bd (patch)
tree75da9ff29b14a927bb55c0e9a74e0c0884d24d27 /llvm/lib/Support/Parallel.cpp
parentf31b1f310c7c9d90adbad35dd17732c6683d1c27 (diff)
downloadllvm-68ea360ed1cd30baa0d11737f7223d2e429262bd.zip
llvm-68ea360ed1cd30baa0d11737f7223d2e429262bd.tar.gz
llvm-68ea360ed1cd30baa0d11737f7223d2e429262bd.tar.bz2
[XRay] [compiler-rt] make sure single threaded programs get traced too
Summary: When the XRay user calls the API to finish writing the log, the thread which is calling the API still hasn't finished and therefore won't get its trace written. Add a test for only the main thread to check this. Reviewers: dberris Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D38493 llvm-svn: 314875
Diffstat (limited to 'llvm/lib/Support/Parallel.cpp')
0 files changed, 0 insertions, 0 deletions