[PATCH] D123812: [CUDA] Add wrapper code generation for registering CUDA images
Joseph Huber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 2 11:38:44 PDT 2022
jhuber6 updated this revision to Diff 426467.
jhuber6 added a comment.
Updating code generation. Previously we would seg-fault in the case that no offloading entries were created. To solve this we simply check that Begin != End before trying to register anything.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123812/new/
https://reviews.llvm.org/D123812
Files:
clang/test/Driver/linker-wrapper-image.c
clang/test/Driver/linker-wrapper.c
clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
clang/tools/clang-linker-wrapper/OffloadWrapper.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123812.426467.patch
Type: text/x-patch
Size: 20907 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220502/ee0f2759/attachment-0001.bin>
More information about the cfe-commits
mailing list