[llvm] [z/OS] Add backtrace support for z/OS. (PR #121826)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 7 10:07:09 PST 2025


================
@@ -708,13 +712,87 @@ static int unwindBacktrace(void **StackTrace, int MaxEntries) {
 }
 #endif
 
+#if ENABLE_BACKTRACES && defined(__MVS__)
+void zosbacktrace(raw_ostream &OS) {
----------------
arsenm wrote:

```suggestion
static void zosbacktrace(raw_ostream &OS) {
```

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


More information about the llvm-commits mailing list