Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
libcxxabi
/
refs/heads/fp2-sibon
/
src
/
cxa_personality.cpp
605f032
Make _Unwind_Backtrace() work on ARM.
by Dan Albert
· 10 years ago
fp2-sibon
fp2-sibon-2.0.1
fp2-sibon-2.0.2
FP2-open-16.05.0
FP2-open-16.06.0
FP2-open-16.07.1
FP2-open-16.08.0
FP2-open-16.09.0
FP2-open-16.10.0
FP2-open-16.11.0
FP2-open-16.12.0
FP2-open-17.01.0
FP2-open-17.04.0
e45805f
Merge to upstream r212232.
by Dan Albert
· 10 years ago
c2e9313
Fixes incorrect #ifs for SJ/LJ exceptions
by Dan Albert
· 10 years ago
e085735
Gets libcxxabi building for Android
by Dan Albert
· 10 years ago
c82e02d
[libcxxabi] Fix broken codesourcery.com links in comments
by Jonathan Roelofs
· 10 years ago
6d00fef
Bruce Mitchener: Typo fixes.
by Howard Hinnant
· 11 years ago
f8f7f7f
Wen-Han Gu: Fix for http://llvm.org/bugs/show_bug.cgi?id=14312 Exception Table out-of-range but still keep walking.
by Howard Hinnant
· 12 years ago
1321731
Arm fixes in cxa_personality.cpp and a little refactoring.
by Howard Hinnant
· 12 years ago
96f0171
Enable / silence -Wunused-parameter.
by Howard Hinnant
· 12 years ago
dfa81ca
Enable/silence -Wunused-variable.
by Howard Hinnant
· 12 years ago
85bc82e
Enable/silence -Wconversion.
by Howard Hinnant
· 12 years ago
3e5c7d0
Enable/silence -Wsign-conversion.
by Howard Hinnant
· 12 years ago
7f9d213
First attempt at arm support.
by Howard Hinnant
· 12 years ago
e045f21
Remove outdated information from comment.
by Howard Hinnant
· 12 years ago
7ab185e
Treat all exceptions except that the ones that this library throws as foreign. Even other C++ exceptions.
by Howard Hinnant
· 12 years ago
29ae5fc
Nothing but polishing comments.
by Howard Hinnant
· 12 years ago
3a1009c
Move an error detector to a better place.
by Howard Hinnant
· 12 years ago
3a2765f
Back the optimization down from -O3 to -Os. I'm getting an unexplained crasher on -O3. I've looked for a libc++abi bug and can't find one. I'm suspecting clang optimizer bug. But I don't have a good test case at the moment. Deferring investigation on this for now as I will soon be developing more and smaller tests.
by Howard Hinnant
· 12 years ago
2e774bf
Fix type-o in the comment of the last commit
by Howard Hinnant
· 12 years ago
135b4bd
Found and fixed a bug in __cxa_call_unexpected. If the unexpected_handler rethrows the same exception then needed information gets overwritten in the original exception header. Therefore save it locally before executing the unexpected_handler.
by Howard Hinnant
· 12 years ago
a5f9da2
Found and fixed bug in personality function: Don't dive into the action table if the action entry is zero.
by Howard Hinnant
· 12 years ago
1a58491
Minor bug fix in __cxa_call_unexpected. Changed std::terminate to detect a caught-but-unhandled exception, and choose the handler out of that if found.
by Howard Hinnant
· 12 years ago
4c8d561
Refactored personality function. Found one bug in scanning exception spec lists.
by Howard Hinnant
· 12 years ago
7da9b96
Add a descriptive name for a constant. Also I'm at least temporarily waging war on throw specs, both old and new style. Except where we have already publicly exposed the throw spec, I'm getting rid of them. They may come back later. But they seem somewhat prone to cyclic dependencies here. The throw spec implies compiler generated code that this library has to jump to during stack unwinding. I'd like to minimize the possiblity that the code used to properly make that jump is itself creating such jumps.
by Howard Hinnant
· 12 years ago
66f6580
Sometimes it takes all day to write a decent comment. This is one of those times, and I'm still not quite sure I have them correct.
by Howard Hinnant
· 12 years ago
08f419c
Forgot to include this file in the last commit: Move kOurExceptionClass and kOurDependentExceptionClass from source to header so that they can be used in multiple sources. This is a private header, these constants are not publicly exposed.
by Howard Hinnant
· 12 years ago
c30bfdc
Getting started on matching a thrown exception to a catch clause, and setting the adjusted pointer to the caught object appearing in the catch clause.
by Howard Hinnant
· 12 years ago
a36fb30
I kept getting confused among the __cxa_exception*, the _Unwind_Exception* and the void* to the thrown object. So I've gone through these two files and attempted to institute a consistent variable naming scheme, and in a few instances, turned void* into a concrete* to have the type system help me out. No change in functionality for this commit is intended.
by Howard Hinnant
· 12 years ago
3fa75e1
First brush with testing __gxx_personality_v0 reveals there is still a long way to go. But my understanding of what it is supposed to do continues to improve. I am currently contemplating whether I need to implement typeinfo before completing __gxx_personality_v0 in order to get matching catch handlers correct.
by Howard Hinnant
· 12 years ago
701d94c
__gxx_personality_v0 update. This is completely untested code. But my brain is scrambled and I wanted to get it checked in. Code review from anyone who knows anything at all about personality functions would be much appreciated. What is in here is borrowed heavily from llvm/examples/ExceptionDemo/ExceptionDemo.cpp. There are some calls to abort() that should probably be changed to return an error code instead. There may be encodings under readEncodedPointer that need to be implemented. And my handling of type_info is almost a complete guess.
by Howard Hinnant
· 12 years ago
ed2ea9b
Just getting started on the personality routine. This is just a skeleton. Still learning how to fill it in...
by Howard Hinnant
· 12 years ago