Skip to content

Commit

Permalink
RT support added. Enable if -shared seen
Browse files Browse the repository at this point in the history
Signed-off-by: Lu, John <john.lu@intel.com>
  • Loading branch information
LU-JOHN committed Jul 23, 2024
1 parent efaba8a commit 3e3318d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clang/lib/Driver/ToolChains/Clang.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10703,8 +10703,7 @@ static void addArgs(ArgStringList &DstArgs, const llvm::opt::ArgList &Alloc,
}

static bool supportDynamicLinking(const llvm::opt::ArgList &TCArgs) {
// TODO: Return true if -shared seen when SYCL RT supports dynamic linking
return false;
return (TCArgs.hasArg(options::OPT_shared));
}

static void getNonTripleBasedSYCLPostLinkOpts(const ToolChain &TC,
Expand Down

0 comments on commit 3e3318d

Please sign in to comment.