Skip to content
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

Remove wrapped_clang params files after use #12896

Conversation

keith
Copy link
Member

@keith keith commented Jan 26, 2021

We use TempFile's destructor to remove the params file. Because we
previously exec'd a new process, this was never called. Now we run
them as subprocesses so we can cleanup afterwards.

We use TempFile's destructor to remove the params file. Because we
previously exec'd a new process, this was never called. Now we run
them as subprocesses so we can cleanup afterwards.
@google-cla google-cla bot added the cla: yes label Jan 26, 2021
@oquenchil oquenchil self-assigned this Feb 4, 2021
@keith
Copy link
Member Author

keith commented Mar 22, 2021

@oquenchil can you review?

Copy link
Contributor

@oquenchil oquenchil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@keith
Copy link
Member Author

keith commented Mar 31, 2021

@oquenchil thanks, can you help land this?

@bazel-io bazel-io closed this in 0299cd7 Apr 1, 2021
philwo pushed a commit that referenced this pull request Apr 20, 2021
We use TempFile's destructor to remove the params file. Because we
previously exec'd a new process, this was never called. Now we run
them as subprocesses so we can cleanup afterwards.

Closes #12896.

PiperOrigin-RevId: 366211823
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants