commit | 8e53dbf2b3594e9092b6645f831e159906e3caa9 | [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 | b18690294b1d75ba4cb86c5fbb4dc328407b54c4 [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