HomePhabricator

[TSan][libdispatch] Replace NSTemporaryDirectory in tests

Authored by yln on Apr 12 2019, 1:27 PM.

Description

[TSan][libdispatch] Replace NSTemporaryDirectory in tests

After this change, most tests don't have a dependency on Foundation.

Note: To hold the file name tempnam allocates a new buffer. We leak

this buffer (omit the free), but I don't think we need to care.

Reviewed By: kubamracek

Differential Revision: https://reviews.llvm.org/D60591

llvm-svn: 358308

Details

Committed
ylnApr 12 2019, 1:27 PM
Reviewer
kubamracek
Differential Revision
D60591: [TSan][libdispatch] Replace NSTemporaryDirectory in tests
Parents
rG0d0334fe1b15: Relanding r357928 with fixed debuginfo check.
Branches
Unknown
Tags
Unknown