]> granicus.if.org Git - clang/commit
[HIP][DRIVER][OFFLOAD] Do not unbundle unsupported file types
authorAaron Enye Shi <enye.shi@gmail.com>
Fri, 4 Jan 2019 19:09:20 +0000 (19:09 +0000)
committerAaron Enye Shi <enye.shi@gmail.com>
Fri, 4 Jan 2019 19:09:20 +0000 (19:09 +0000)
commit5f9f674fea281ebc6beb6c871b27d588d006a900
treed446d793b3ec2acf35369bf601ded51ace542577
parent5aa017b125e501db919c6c62be03f0a275ebc63f
[HIP][DRIVER][OFFLOAD] Do not unbundle unsupported file types

The offload bundler action should not unbundle the input file types that does not match the action type. This fixes an issue where .so files are unbundled when the action type is object files.

Reviewers: yaxunl

Differential Revision: https://reviews.llvm.org/D56321

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350426 91177308-0d34-0410-b5e6-96231b3b80d8
test/Driver/hip-link-shared-library.hip