aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2022-08-19 11:38:12 -0400
committerJoseph Huber <jhuber6@vols.utk.edu>2022-08-24 08:47:55 -0500
commitba57828e11c52f45420f2027dae0843cf83a57bf (patch)
tree7c93cae0302a1b6c2d8314c4cd9ac5c49b84d4c1 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent96c85f80f0d615ffde0f85d8270e0a8c9f4e5430 (diff)
downloadllvm-ba57828e11c52f45420f2027dae0843cf83a57bf.zip
llvm-ba57828e11c52f45420f2027dae0843cf83a57bf.tar.gz
llvm-ba57828e11c52f45420f2027dae0843cf83a57bf.tar.bz2
[CUDA][OpenMP] Fix the new driver crashing on multiple device-only outputs
The new driver supports device-only compilation for the offloading device. The way this is handlded is a little different from the old offloading driver. The old driver would put all the outputs in the final action list akin to a linker job. The new driver however generated these in the middle of the host's job so we instead put them all in a single offloading action. However, we only handled these kinds of offloading actions correctly when there was only a single input. When we had multiple inputs we would instead attempt to get the host job, which didn't exist, and crash. This patch simply adds some extra logic to generate the jobs for all dependencies if there is not host action. Reviewed By: yaxunl Differential Revision: https://reviews.llvm.org/D132248
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions