[SYCL] Fix spriv-to-ir-wrapper invocation in clang-linker-wrapper
Fix command line argument passed to "spirv-to-ir-wrapper" invocation in clang-linker-wrapper. Also make clang-linker-wrapper print arguments quoted if needed.
Also this change fixes the following E2E tests in the New Offloading Model.
SYCL :: Basic/multisource_spv_obj.cpp SYCL :: Basic/spirv_device_obj_smoke.cpp
The point of my change is that we pass the string with whitespaces like "--spirv-option1 --spirv-option2" as one command line argument. The issue before my change was that a printed command was unquoted and it differs from the perspective of the shell. More precisely, it starts being interpreted as two command line arguments instead of one. My change adds quotation when it is needed.
Update: Removed printArg usage. I will have to get it back more accurate directly in llvm-project.
@intel/llvm-gatekeepers Can we merge it? Failure in e2e Windows Intel GEN12 is irrelevant.
Usually I would ask we rerun win gen12 testing but since I know the code changed has no e2e test coverage anyway, i'll just merge it now