]> granicus.if.org Git - clang/commit
[Clang][Bundler] Fix for a hang when unbundling fat binary
authorSergey Dmitriev <serguei.n.dmitriev@intel.com>
Tue, 27 Aug 2019 21:47:52 +0000 (21:47 +0000)
committerSergey Dmitriev <serguei.n.dmitriev@intel.com>
Tue, 27 Aug 2019 21:47:52 +0000 (21:47 +0000)
commit8c0ec8ce3a74c013bba676623ad286736ea00290
treebc1dc6ef4cc937fab17e2c763d53cc005951dae4
parentae3841677ef28ba80dc30d74e32a33bf3f6dde8c
[Clang][Bundler] Fix for a hang when unbundling fat binary

clang-offload-bundler tool may hang under certain conditions when it extracts a subset of all available device bundles from the fat binary that is handled by the BinaryFileHandler. This patch fixes this problem.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@370115 91177308-0d34-0410-b5e6-96231b3b80d8
test/Driver/clang-offload-bundler.c
tools/clang-offload-bundler/ClangOffloadBundler.cpp