mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #85100 from adrian-prantl/163302154
Add a -debug-module-path frontend option
This commit is contained in:
@@ -278,6 +278,9 @@ class IRGenOptions {
|
||||
public:
|
||||
std::string ModuleName;
|
||||
|
||||
/// The path to the main binary swiftmodule for the debug info.
|
||||
std::string DebugModulePath;
|
||||
|
||||
/// The compilation directory for the debug info.
|
||||
std::string DebugCompilationDir;
|
||||
|
||||
|
||||
@@ -653,6 +653,12 @@ def project_name : Separate<["-"], "project-name">,
|
||||
def module_name_EQ : Joined<["-"], "module-name=">, Flags<[FrontendOption]>,
|
||||
Alias<module_name>;
|
||||
|
||||
def debug_module_path : Separate<["-"], "debug-module-path">,
|
||||
Flags<[FrontendOption]>,
|
||||
HelpText<"Path to this module's binary swiftmodule artifact (required by debug info)">;
|
||||
def debug_module_path_EQ : Joined<["-"], "debug-module-path=">, Flags<[FrontendOption]>,
|
||||
Alias<debug_module_path>;
|
||||
|
||||
def module_alias : Separate<["-"], "module-alias">,
|
||||
Flags<[FrontendOption, ModuleInterfaceOption]>,
|
||||
MetaVarName<"<alias_name=real_name>">,
|
||||
|
||||
Reference in New Issue
Block a user