mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Macros] Add a flag -dump-macro-expansions as a debugging aid.
This commit is contained in:
@@ -343,6 +343,9 @@ def dump_requirement_machine : Flag<["-"], "dump-requirement-machine">,
|
||||
def debug_requirement_machine : Joined<["-"], "debug-requirement-machine=">,
|
||||
HelpText<"Fine-grained debug output from the generics implementation">;
|
||||
|
||||
def dump_macro_expansions : Flag<["-"], "dump-macro-expansions">,
|
||||
HelpText<"Dumps the results of each macro expansion">;
|
||||
|
||||
def analyze_requirement_machine : Flag<["-"], "analyze-requirement-machine">,
|
||||
Flags<[FrontendOption, HelpHidden, DoesNotAffectIncrementalBuild]>,
|
||||
HelpText<"Print out requirement machine statistics at the end of the compilation job">;
|
||||
|
||||
Reference in New Issue
Block a user