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

follow up to #30 #31

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

follow up to #30 #31

wants to merge 3 commits into from

Conversation

Dylan-Brotherston
Copy link
Collaborator

After merging #30 i noticed that sometimes clang will realpath it's files.
Eg TSAN uses llvm-symbolizer and will resolve symbolic-links when doing so.

This can cause mangled file names to be shown in autotest output.

This PR reverts link_program() to use hard-links.

But adds additional checks to ensure that the previous issues don't return:

Firstly link_program() now compares inode numbers instead of using os.path.islink()

Secondly a new function unlink_program() function is added to remove any hard-links that link_program() creates.
This is once again because of the os.rename() in run_compilers()

Dylan-Brotherston and others added 2 commits April 27, 2022 23:09
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