aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--flang/lib/Frontend/CompilerInvocation.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/flang/lib/Frontend/CompilerInvocation.cpp b/flang/lib/Frontend/CompilerInvocation.cpp
index cd104d3..ecc0fda 100644
--- a/flang/lib/Frontend/CompilerInvocation.cpp
+++ b/flang/lib/Frontend/CompilerInvocation.cpp
@@ -116,6 +116,15 @@ static InputKind ParseFrontendArgs(FrontendOptions &opts,
case clang::driver::options::OPT_fdebug_unparse_with_symbols:
opts.programAction_ = DebugUnparseWithSymbols;
break;
+ case clang::driver::options::OPT_fdebug_dump_symbols:
+ opts.programAction_ = DebugDumpSymbols;
+ break;
+ case clang::driver::options::OPT_fdebug_dump_parse_tree:
+ opts.programAction_ = DebugDumpParseTree;
+ break;
+ case clang::driver::options::OPT_fdebug_dump_provenance:
+ opts.programAction_ = DebugDumpProvenance;
+ break;
// TODO:
// case calng::driver::options::OPT_emit_llvm: