================
@@ -292,6 +292,10 @@ void Flang::addDebugOptions(const llvm::opt::ArgList 
&Args, const JobAction &JA,
                    options::OPT_fno_openacc_multiple_names_in_routine,
                    options::OPT_finstrument_functions});
 
+  // Forward whichever of -fbacktrace/-fno-backtrace appears last. Pass
----------------
shivaramaarao wrote:

Apologies for misleading comment earlier. The flang-rt uses the environment 
variable FLANG_ERROR_BACKTRACE to control the backtrace printing. The option is 
unset by default and with -fno-backtrace the environment variable is set to 0. 

https://github.com/llvm/llvm-project/pull/241967
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to