commit | 1e86f9aa7709a8936da7c9f6856423f795636519 | [log] [tgz] |
---|---|---|
author | Yaxun (Sam) Liu <yaxun.liu@amd.com> | Thu Dec 02 17:49:36 2021 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Dec 06 14:02:56 2021 -0800 |
tree | 40dbb1d6c46a28d64aaaa553df0f9de37a628f62 | |
parent | 06079d14cad8f0c3f7ac8194ea48689d0c19c7c1 [diff] |
[HIP] Fix -fgpu-rdc for Windows This patch fixes issues for -fgpu-rdc for Windows MSVC toolchain: Fix COFF specific section flags and remove section types in llvm-mc input file for Windows. Escape fatbin path in llvm-mc input file. Add -triple option to llvm-mc. Put __hip_gpubin_handle in comdat when it has linkonce_odr linkage. Reviewed by: Artem Belevich Differential Revision: https://reviews.llvm.org/D115039 GitOrigin-RevId: 3b172f60c6926b43f87de1eaa3fa4c873bdb6de4