[flang-commits] [flang] [flang]Add new intrinsic function backtrace and complete the TODO of abort (PR #117603)
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Mon Nov 25 10:43:19 PST 2024
================
@@ -15,6 +15,7 @@
#include <cfenv>
#include <cstdio>
#include <cstdlib>
+#include <execinfo.h>
----------------
tblah wrote:
So far as I know this not a standard header - it is a GNU extension.
Flang supports other systems such as AIX, MacOS, Windows, and even other C libraries on gnu+linux systems (e.g. llvm-libc).
Please could you put this behind a preprocessor check so that compilation is not broken on those other systems.
https://github.com/llvm/llvm-project/pull/117603
More information about the flang-commits
mailing list