[PATCH] D81959: [HIP] Enable -amdgpu-internalize-symbols
Matt Arsenault via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 16 19:42:45 PDT 2020
arsenm added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/HIP.cpp:64-65
+ "-shared",
+ "-mllvm",
+ "-amdgpu-internalize-symbols",
+ "-o",
----------------
We should probably add an lld driver flag for this rather than relying on the backend option? Is there some regular way to specify internalization that could add the target pass instead?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81959/new/
https://reviews.llvm.org/D81959
More information about the cfe-commits
mailing list