[PATCH] [libcxxabi] Make _Unwind_Backtrace() work on ARM.

Dan Albert danalbert at google.com
Thu Aug 28 16:08:18 PDT 2014


Hi jroelofs,

Since the personality functions do the actual unwinding on ARM, and will
also stop unwinding when they encounter a handler, we invoke
_Unwind_VRS_Interpret() directly form _Unwind_Backtrace().
    
To simplify, the logic for decoding an EHT is moved out of
unwindOneFrame() and into its own function, decode_eht_entry(). Unlike
unwindOneFrame(), which could only handle ARM's compact personality
function entries (section 6.3) decode_eht_entry() can handle the generic
entries (section 6.2).

http://reviews.llvm.org/D5112

Files:
  include/unwind.h
  src/Unwind/Unwind-EHABI.cpp
  src/Unwind/UnwindLevel1-gcc-ext.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5112.13062.patch
Type: text/x-patch
Size: 4262 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140828/ef96af1b/attachment.bin>


More information about the cfe-commits mailing list