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
2e9a9e35
Commit
2e9a9e35
authored
Jul 07, 2015
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #674 from kmod/unwinding_ip
Be more consistent about "ip" while unwinding
parents
25c54f76
6b4cc450
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/codegen/unwinding.cpp
src/codegen/unwinding.cpp
+3
-3
No files found.
src/codegen/unwinding.cpp
View file @
2e9a9e35
...
...
@@ -404,12 +404,12 @@ static unw_word_t getFunctionEnd(unw_word_t ip) {
static
bool
inASTInterpreterExecuteInner
(
unw_word_t
ip
)
{
static
unw_word_t
interpreter_instr_end
=
getFunctionEnd
((
unw_word_t
)
interpreter_instr_addr
);
return
((
unw_word_t
)
interpreter_instr_addr
<
=
ip
&&
ip
<
interpreter_instr_end
);
return
((
unw_word_t
)
interpreter_instr_addr
<
ip
&&
ip
<=
interpreter_instr_end
);
}
static
bool
inGeneratorEntry
(
unw_word_t
ip
)
{
static
unw_word_t
generator_entry_end
=
getFunctionEnd
((
unw_word_t
)
generatorEntry
);
return
((
unw_word_t
)
generatorEntry
<
=
ip
&&
ip
<
generator_entry_end
);
return
((
unw_word_t
)
generatorEntry
<
ip
&&
ip
<=
generator_entry_end
);
}
...
...
@@ -419,7 +419,7 @@ static inline unw_word_t get_cursor_reg(unw_cursor_t* cursor, int reg) {
return
v
;
}
static
inline
unw_word_t
get_cursor_ip
(
unw_cursor_t
*
cursor
)
{
return
get_cursor_reg
(
cursor
,
UNW_REG_IP
)
-
1
;
return
get_cursor_reg
(
cursor
,
UNW_REG_IP
);
}
static
inline
unw_word_t
get_cursor_bp
(
unw_cursor_t
*
cursor
)
{
return
get_cursor_reg
(
cursor
,
UNW_TDEP_BP
);
...
...
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