Skip to content

Commit

Permalink
[SYCL] do not add -emit-reg-funcs=0 for offload-wrapper
Browse files Browse the repository at this point in the history
Signed-off-by: Vladimir Lazarev <vladimir.lazarev@intel.com>
  • Loading branch information
vladimirlaz committed Jan 22, 2019
1 parent 1fface9 commit 5e3005c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion clang/lib/Driver/ToolChains/SYCL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ const char *SYCL::Linker::constructOffloadWrapperCommand(
WrapperArgs.push_back(C.getArgs().MakeArgString(TmpTargetOpt));

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

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

0 comments on commit 5e3005c

Please sign in to comment.