HomePhabricator

[XRay] [compiler-rt] make sure single threaded programs get traced too

Description

[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

Details

Committed
pelikanOct 3 2017, 10:12 PM
Differential Revision
D38493: [XRay] [compiler-rt] make sure single threaded programs get traced too
Branches
Unknown
Tags
Unknown