[all-commits] [llvm/llvm-project] ead486: [ClangLinkerWrapper] Fix intermediate file naming ...
Saiyedul Islam via All-commits
all-commits at lists.llvm.org
Wed Jul 17 11:12:33 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ead486ca61ab06d46aa4b30c91d1f40e5e5e43e5
https://github.com/llvm/llvm-project/commit/ead486ca61ab06d46aa4b30c91d1f40e5e5e43e5
Author: Saiyedul Islam <Saiyedul.Islam at amd.com>
Date: 2024-07-17 (Wed, 17 Jul 2024)
Changed paths:
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
Log Message:
-----------
[ClangLinkerWrapper] Fix intermediate file naming for multi-arch compilation (#99325)
When save-temps is enabled and the given offload-archs differ
only in target features with the same arch, the intermediate
postlink.bc and postopt.bc files were getting overwritten. This
fix, suffixes the intermediate file names with the complete
TargetID.
E.g. `helloworld.amdgcn-amd-amdhsa.gfx90a:xnack+.postlink.bc`
and `helloworld.amdgcn-amd-amdhsa.gfx90a:xnack+.postopt.bc`
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list