[PATCH] D18895: [sanitizer] [SystemZ] Fix stack traces.

Marcin Koƛcielnicki via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 14 14:25:11 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL266371: [sanitizer] [SystemZ] Fix stack traces. (authored by koriakin).

Changed prior to commit:
  http://reviews.llvm.org/D18895?vs=53011&id=53789#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D18895

Files:
  compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.cc

Index: compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.cc
===================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.cc
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_stacktrace.cc
@@ -92,6 +92,8 @@
         !IsAligned((uptr)caller_frame, sizeof(uhwptr)))
       break;
     uhwptr pc1 = caller_frame[2];
+#elif defined(__s390__)
+    uhwptr pc1 = frame[14];
 #else
     uhwptr pc1 = frame[1];
 #endif


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18895.53789.patch
Type: text/x-patch
Size: 493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160414/16be4245/attachment.bin>


More information about the llvm-commits mailing list