Skip to content

Commit 5507bf0

Browse files
committed
add comment
1 parent 1b74d0f commit 5507bf0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/Driver/ToolChains/SYCL.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,7 @@ SYCL::getDeviceLibraries(const Compilation &C, const llvm::Triple &TargetTriple,
671671
// linked with user's device image if so.
672672
std::vector<std::string> EnabledDeviceSanitizers;
673673

674+
// NOTE: "-fsanitize=" applies to all device targets
674675
auto SyclFEArgVals = Args.getAllArgValues(options::OPT_Xsycl_frontend);
675676
auto SyclFEEQArgVals = Args.getAllArgValues(options::OPT_Xsycl_frontend_EQ);
676677
auto ArchDeviceVals = Args.getAllArgValues(options::OPT_Xarch_device);

0 commit comments

Comments
 (0)