Add a -dump-trc frontend option to print the type refinement context hierarchy

This is useful for debugging and testing.

Swift SVN r30383
This commit is contained in:
Devin Coughlin
2015-07-19 05:53:27 +00:00
parent 6ab7b1495d
commit b427975c39
8 changed files with 128 additions and 2 deletions

View File

@@ -938,6 +938,7 @@ void Driver::buildOutputInfo(const ToolChain &TC, const DerivedArgList &Args,
case options::OPT_dump_parse:
case options::OPT_dump_ast:
case options::OPT_print_ast:
case options::OPT_dump_trc:
OI.CompilerOutputType = types::TY_Nothing;
break;