[flang-commits] [flang] [flang]Add new intrinsic function backtrace and complete the TODO of abort (PR #117603)

via flang-commits flang-commits at lists.llvm.org
Mon Nov 25 10:52:20 PST 2024


================
@@ -152,11 +153,29 @@ void RTNAME(PauseStatementText)(const char *code, std::size_t length) {
   std::exit(status);
 }
 
+static void PrintBacktrace() {
+  // TODO: Need to parse DWARF information to print function line numbers
----------------
dty2 wrote:

Sorry, I didn't notice that you replied to me on the issue. I only checked my previous issue after submitting the pull request. I'm very sorry. I will reopen this PR now.

https://github.com/llvm/llvm-project/pull/117603


More information about the flang-commits mailing list