commit | c9dee84d81e4672dee5dd08890c904d1ab841e56 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Fri Nov 03 14:50:27 2017 -0700 |
committer | Christopher Ferris <cferris@google.com> | Tue Nov 07 13:22:39 2017 -0800 |
tree | b71dfd2d4adf1041b6420cef62492494d00e864c | |
parent | 1e0b9672defa3504915741c8d4cec3cc73f89568 [diff] |
Add support for only a .eh_frame. Static executables only have a .eh_frame section and no .eh_frame_hdr section. Add support for this by rearranging the class hierarchy and creating a DwarfEhFrameWithHdr class and a DwarfEhFrame class to handle the different cases. Add new unit tests for DwarfEhFrame and for the new functionality. Bug: 68820189 Test: Passes new unit tests, unwinds static executables. Change-Id: I63d7cb8c52a686e96579a2266e18c0d06bbb6e63