Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
rockchip_bionic
Commits
ff220f70
Commit
ff220f70
authored
11 years ago
by
Ben Cheng
Committed by
Gerrit Code Review
11 years ago
Browse files
Options
Download
Plain Diff
Merge "Remove a spurious FIXME and unnecessary type cast."
parents
b9256ada
63dd03cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
libc/bionic/debug_stacktrace.cpp
libc/bionic/debug_stacktrace.cpp
+1
-4
No files found.
libc/bionic/debug_stacktrace.cpp
View file @
ff220f70
...
...
@@ -101,10 +101,7 @@ static _Unwind_Reason_Code trace_function(__unwind_context* context, void* arg)
if
(
ip
!=
0
)
{
short
*
ptr
=
reinterpret_cast
<
short
*>
(
ip
);
// Thumb BLX(2)
// FIXME - GCC 4.7 seems to have a bug as without the unnecessary cast to
// short the test will never pass.
if
((
*
(
ptr
-
1
)
&
0xff80
)
==
(
short
)
0x4780
)
{
if
((
*
(
ptr
-
1
)
&
0xff80
)
==
0x4780
)
{
ip
-=
2
;
}
else
{
ip
-=
4
;
...
...
This diff is collapsed.
Click to expand it.
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