Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
1b2e6764
Commit
1b2e6764
authored
Apr 21, 2014
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pending libunwind patch
parent
21ee6954
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
docs/INSTALLING.md
docs/INSTALLING.md
+1
-0
libunwind_patches/0001-Change-the-RBP-validation-heuristic-to-allow-size-0-.patch
...hange-the-RBP-validation-heuristic-to-allow-size-0-.patch
+25
-0
No files found.
docs/INSTALLING.md
View file @
1b2e6764
...
...
@@ -63,6 +63,7 @@ mkdir libunwind-1.1-install
cd libunwind-1.1
# disable shared libraries because we'll be installing this in a place that the loader can't find it.
./configure --prefix=$HOME/pyston_deps/libunwind-1.1-install --enable-shared=0
patch -p1 <~/pyston/libunwind_patches/0001-Change-the-RBP-validation-heuristic-to-allow-size-0-.patch
make -j4
make install
```
...
...
libunwind_patches/0001-Change-the-RBP-validation-heuristic-to-allow-size-0-.patch
0 → 100644
View file @
1b2e6764
From 8f7bde85e4f9ce497e18b23a8c4fb3f9e0f2fb12 Mon Sep 17 00:00:00 2001
From: Kevin Modzelewski <kevmod@gmail.com>
Date: Mon, 21 Apr 2014 19:37:04 -0700
Subject: [PATCH] Change the RBP-validation heuristic to allow size-0 call frames
---
src/x86_64/Gstep.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment