Skip to content

[profile] Add %t LLVM_PROFILE_FILE option to substitute $TMPDIR #1855

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 25, 2020

Conversation

vedantk
Copy link

@vedantk vedantk commented Sep 25, 2020

No description provided.

Add support for expanding the %t filename specifier in LLVM_PROFILE_FILE
to the TMPDIR environment variable. This is supported on all platforms.

On Darwin, TMPDIR is used to specify a temporary application-specific
scratch directory. When testing apps on remote devices, it can be
challenging for the host device to determine the correct TMPDIR, so it's
helpful to have the runtime do this work.

rdar://68524185

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

(cherry picked from commit 62c3727)
@vedantk
Copy link
Author

vedantk commented Sep 25, 2020

@swift-ci test macOS

@vedantk vedantk merged commit fe24e36 into apple/stable/20200714 Sep 25, 2020
@vedantk vedantk deleted the eng/PR-68524185 branch September 25, 2020 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant