mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #68985 from antoniofrighetto/feature/load-pass-plugin
[Driver][Frontend] Introduce `load-pass-plugin` option
This commit is contained in:
@@ -3233,6 +3233,10 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
}
|
||||
}
|
||||
|
||||
for (const Arg *A : Args.filtered(OPT_load_pass_plugin_EQ)) {
|
||||
Opts.LLVMPassPlugins.push_back(A->getValue());
|
||||
}
|
||||
|
||||
for (const Arg *A : Args.filtered(OPT_verify_type_layout)) {
|
||||
Opts.VerifyTypeLayoutNames.push_back(A->getValue());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user