aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCheckDebugify.cpp
diff options
context:
space:
mode:
authorYaxun (Sam) Liu <yaxun.liu@amd.com>2020-12-10 16:30:24 -0500
committerYaxun (Sam) Liu <yaxun.liu@amd.com>2020-12-16 14:52:39 -0500
commitb9fb063e63c7959e8bc9b424bd34b266ca826826 (patch)
treefe3d6fcc24f09e41ddc2d3e851e8416a7fb12a87 /llvm/lib/CodeGen/MachineCheckDebugify.cpp
parent7685d818ef329cd3f6ef121af1208be409eb59db (diff)
downloadllvm-b9fb063e63c7959e8bc9b424bd34b266ca826826.zip
llvm-b9fb063e63c7959e8bc9b424bd34b266ca826826.tar.gz
llvm-b9fb063e63c7959e8bc9b424bd34b266ca826826.tar.bz2
[clang-offload-bundler] Add option -allow-missing-bundles
There are out-of-tree tools using clang-offload-bundler to extract bundles from bundled files. When a bundle is not in the bundled file, clang-offload-bundler is expected to emit an error message and return non-zero value. However currently clang-offload-bundler silently generates empty file for the missing bundles. Since OpenMP/HIP toolchains expect the current behavior, an option -allow-missing-bundles is added to let clang-offload-bundler create empty file when a bundle is missing when unbundling. The unbundling job action is updated to use this option by default. clang-offload-bundler itself will emit error when a bundle is missing when unbundling by default. Changes are also made to check duplicate targets in -targets option and emit error. Differential Revision: https://reviews.llvm.org/D93068
Diffstat (limited to 'llvm/lib/CodeGen/MachineCheckDebugify.cpp')
0 files changed, 0 insertions, 0 deletions