mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Determine whether a given sanitizer is available based on the presenc… (#14919)
Determine whether a given sanitizer is available based on the presence of the library. rdar://37192887
This commit is contained in:
@@ -686,7 +686,7 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
|
||||
if (const Arg *A = Args.getLastArg(options::OPT_sanitize_EQ)) {
|
||||
Opts.Sanitizers = parseSanitizerArgValues(
|
||||
Args, A, Triple, Diags,
|
||||
/* sanitizerRuntimeLibExists= */[](StringRef libName) {
|
||||
/* sanitizerRuntimeLibExists= */[](StringRef libName, bool shared) {
|
||||
|
||||
// The driver has checked the existence of the library
|
||||
// already.
|
||||
|
||||
Reference in New Issue
Block a user