[flang-commits] [flang] Backtrace support for flang (PR #118179)
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Mon Dec 2 02:14:00 PST 2024
================
@@ -90,6 +90,11 @@ if (FLANG_STANDALONE_BUILD)
# We need a pre-built/installed version of LLVM.
find_package(LLVM REQUIRED HINTS "${LLVM_DIR_ABSOLUTE}")
+ # function checks
+ find_package(Backtrace)
+ set(HAVE_BACKTRACE ${Backtrace_FOUND})
+ set(BACKTRACE_HEADER ${Backtrace_HEADER})
+
----------------
tblah wrote:
Please could you try putting this in `flang/runtime/CMakeLists.txt`
https://github.com/llvm/llvm-project/pull/118179
More information about the flang-commits
mailing list