Skip to content

Commit 5e3005c

Browse files
committed
[SYCL] do not add -emit-reg-funcs=0 for offload-wrapper
Signed-off-by: Vladimir Lazarev <[email protected]>
1 parent 1fface9 commit 5e3005c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clang/lib/Driver/ToolChains/SYCL.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ const char *SYCL::Linker::constructOffloadWrapperCommand(
9494
WrapperArgs.push_back(C.getArgs().MakeArgString(TmpTargetOpt));
9595

9696
// For SYCL, do not emit entry tables
97-
WrapperArgs.push_back("-emit-reg-funcs=0");
9897
WrapperArgs.push_back("-emit-entry-table=0");
9998

10099
SmallString<128> WrapperPath(C.getDriver().Dir);

0 commit comments

Comments
 (0)