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.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/flang/lib/Frontend/CompilerInvocation.cpp b/flang/lib/Frontend/CompilerInvocation.cpp
index 23cbc21..8cec2af 100644
--- a/flang/lib/Frontend/CompilerInvocation.cpp
+++ b/flang/lib/Frontend/CompilerInvocation.cpp
@@ -110,6 +110,12 @@ static InputKind ParseFrontendArgs(FrontendOptions &opts,
case clang::driver::options::OPT_emit_obj:
opts.programAction_ = EmitObj;
break;
+ case clang::driver::options::OPT_fdebug_unparse:
+ opts.programAction_ = DebugUnparse;
+ break;
+ case clang::driver::options::OPT_fdebug_unparse_with_symbols:
+ opts.programAction_ = DebugUnparseWithSymbols;
+ break;
// TODO:
// case calng::driver::options::OPT_emit_llvm: