mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Pass -L, -l, and -framework to REPL and interpret mode jobs.
...and then honor them. While here, make -l a little more flexible (see interpret_with_options test). rdar://problem/17830826, which unblocks the LLDB feature for the same. Swift SVN r24033
This commit is contained in:
@@ -718,6 +718,11 @@ static bool ParseSearchPathArgs(SearchPathOptions &Opts, ArgList &Args,
|
||||
Opts.FrameworkSearchPaths.push_back(A->getValue());
|
||||
}
|
||||
|
||||
for (const Arg *A : make_range(Args.filtered_begin(OPT_L),
|
||||
Args.filtered_end())) {
|
||||
Opts.LibrarySearchPaths.push_back(A->getValue());
|
||||
}
|
||||
|
||||
if (const Arg *A = Args.getLastArg(OPT_sdk))
|
||||
Opts.SDKPath = A->getValue();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user