DescriptionI've run into at least one library that has CIE version 3 .eh_frames. Before, Breakpad would simply ignore any entries within the .eh_frame section if it wasn't version 1: /usr/lib/libSystem.B.dylib, architecture : CFI frame description entry at offset 0x148b8 in '__eh_frame': CIE specifies unrecognized version: 3 According to http://www.airs.com/blog/archives/460, the .eh_frame sections only difference between versions 1 and 3 is the same change that we already account for in .debug_frame sections: the return address register is LEB128 in version 3 instead of a single byte in version 1. This patch simply allows reading of version 3 .eh_frame sections. Patch Set 1 : Sorry, I truncated some context lines at the end of the patch file. #
MessagesTotal messages: 10
|