[flang-commits] [flang] [flang]Add new intrinsic function backtrace and complete the TODO of abort (PR #117603)
    Krzysztof Parzyszek via flang-commits 
    flang-commits at lists.llvm.org
       
    Tue Nov 26 07:52:55 PST 2024
    
    
  
================
@@ -152,11 +156,39 @@ void RTNAME(PauseStatementText)(const char *code, std::size_t length) {
   std::exit(status);
 }
 
+static void PrintBacktrace() {
+#ifdef __linux__
----------------
kparzysz wrote:
Please replace it with `#ifdef HAVE_BACKTRACE`.
https://github.com/llvm/llvm-project/pull/117603
    
    
More information about the flang-commits
mailing list