Skip to content

Commit b8dc7e2

Browse files
committed
Revert "Apply suggestion from @omor1"
This reverts commit 3ffbf84.
1 parent a2b0516 commit b8dc7e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Driver/ToolChains/HIPUtility.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ class HIPUndefinedFatBinSymbols {
246246
bool isGPUBinHandleSymbol = Name.starts_with(GPUBinHandlePrefix);
247247

248248
// Handling for defined symbols
249-
if (!isUndefined && !isHidden) {
249+
if (!isUndefined) {
250250
if (isFatBinSymbol && !isHidden) {
251251
DefinedFatBinSymbols.insert(Name.str());
252252
FatBinSymbols.erase(Name.str());

0 commit comments

Comments
 (0)