[LinkerWrapper] Change wrapping to include jumps for other variables
authorJoseph Huber <jhuber6@vols.utk.edu>
Wed, 29 Jun 2022 18:39:42 +0000 (14:39 -0400)
committerJoseph Huber <jhuber6@vols.utk.edu>
Wed, 29 Jun 2022 18:48:39 +0000 (14:48 -0400)
commit34fc1db9a8b22300a90e71fe7285501e7bcdc90e
tree2e4a2ea686589db39b9403ec4e9fbe447819043c
parent53dca2e6ec6c3bfd7d221c6486f1014bd26b60a8
[LinkerWrapper] Change wrapping to include jumps for other variables

Summary:
We don't currently support other variable types, like managed or
surface. This patch simply adds code that checks the flags and does
nothing. This prevents us from registering a surface as a variable as we
do now. In the future, registering these will require adding the flags
to the entry struct.
clang/test/Driver/linker-wrapper-image.c
clang/tools/clang-linker-wrapper/OffloadWrapper.cpp