Revision aba8e906508bfd21692f4546a66e30524e535e6f authored by Tony Kelman on 26 January 2016, 07:17:06 UTC, committed by Tony Kelman on 26 January 2016, 07:20:09 UTC
This reverts commit dfba26bde58b9b9fae66001b136c67391243c394.

This is a detail of the out of tree builds which only exist on master.
Any backport that relies on this was not resolved correctly for release-0.4.
1 parent 57fc0bc
Raw File
libunwind.patch
From e1d7c78d95e4b73a311f10149d0a54547d307d5d Mon Sep 17 00:00:00 2001
From: Kevin Modzelewski <kmod@dropbox.com>
Date: Tue, 22 Apr 2014 15:50:40 -0700
Subject: [PATCH] Change the RBP-validation heuristic to allow size-0 call frames

---
diff --git a/src/x86_64/Gstep.c b/src/x86_64/Gstep.c
index 9fa0967..809d60b 100644
--- a/src/x86_64/Gstep.c
+++ b/src/x86_64/Gstep.c
@@ -173,7 +173,7 @@ unw_step (unw_cursor_t *cursor)
 		 anything about new RBP (rbp1) since it may not be a frame
 		 pointer in the frame above.  Just check we get the value. */
               if (ret < 0
-		  || rbp <= c->dwarf.cfa
+		  || rbp < c->dwarf.cfa
 		  || (rbp - c->dwarf.cfa) > 0x4000)
 	        {
                   rip_loc = DWARF_NULL_LOC;
-- 
1.7.4.1

back to top