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 references to __FILE__ #5462

Merged
merged 4 commits into from
Nov 1, 2023
Merged

Remove references to __FILE__ #5462

merged 4 commits into from
Nov 1, 2023

Conversation

s-perron
Copy link
Collaborator

@s-perron s-perron commented Nov 1, 2023

Uses of __FILE__ leak the directory structure of the machine used to
build because it adds a string to the string table with the full path
name. Since the existing uses were not really needed, I am simply
removing all of them.

Fixes #5416

Uses of __FILE__ leak the directory structure of the machine used to
build because it adds a string to the string table with the full path
name. Since the existing uses were not really needed, I am simply
removing all of them.

Fixes KhronosGroup#5416
SPIRV_ASSERT is used, and it only uses `__FILE__` in the debug build, so
it should not be a problem.
@s-perron s-perron enabled auto-merge (squash) November 1, 2023 19:55
@s-perron s-perron merged commit a08f648 into KhronosGroup:main Nov 1, 2023
4 checks passed
@s-perron s-perron deleted the path branch September 16, 2024 13:11
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.

libSPIRV-Tools-opt.so contains reference to $srcdir
2 participants