[PATCH] D51434: [HIP] Add -fvisibility hidden option to clang
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 30 07:43:00 PDT 2018
yaxunl added inline comments.
================
Comment at: lib/Driver/ToolChains/HIP.cpp:256
+ CC1Args.append({"-fvisibility", "hidden"});
}
----------------
arsenm wrote:
> arsenm wrote:
> > yaxunl wrote:
> > > arsenm wrote:
> > > > We should probably start subclassing the HIP toolchain from AMDGPU and share more of this
> > > I'd like to defer the refactoring of HIP and AMDGPU toolchain to another patch. There are stuff in HIP toolchain which should go to AMDGPU toolchain. We need to sort out the relation between HIP and AMDGPU toolchain in that patch.
> > >
> > Yes
> I also have a patch refactoring the AMDGPU toolchain that would conflict
I will commit this patch then we will start reviewing your patch for refactoring AMDGPU toolchain.
https://reviews.llvm.org/D51434
More information about the cfe-commits
mailing list