diff options
author | Christopher Ferris <cferris@google.com> | 2017-11-03 14:50:27 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2017-11-07 13:22:39 -0800 |
commit | c9dee84d81e4672dee5dd08890c904d1ab841e56 (patch) | |
tree | b71dfd2d4adf1041b6420cef62492494d00e864c /libunwindstack/Android.bp | |
parent | 1e0b9672defa3504915741c8d4cec3cc73f89568 (diff) | |
download | system_core-c9dee84d81e4672dee5dd08890c904d1ab841e56.tar.gz system_core-c9dee84d81e4672dee5dd08890c904d1ab841e56.tar.bz2 system_core-c9dee84d81e4672dee5dd08890c904d1ab841e56.zip |
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
Diffstat (limited to 'libunwindstack/Android.bp')
-rw-r--r-- | libunwindstack/Android.bp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libunwindstack/Android.bp b/libunwindstack/Android.bp index c885c3f9b..40364fe40 100644 --- a/libunwindstack/Android.bp +++ b/libunwindstack/Android.bp @@ -48,8 +48,7 @@ cc_library { srcs: [ "ArmExidx.cpp", "DwarfCfa.cpp", - "DwarfDebugFrame.cpp", - "DwarfEhFrame.cpp", + "DwarfEhFrameWithHdr.cpp", "DwarfMemory.cpp", "DwarfOp.cpp", "DwarfSection.cpp", @@ -106,6 +105,7 @@ cc_test { "tests/DwarfCfaTest.cpp", "tests/DwarfDebugFrameTest.cpp", "tests/DwarfEhFrameTest.cpp", + "tests/DwarfEhFrameWithHdrTest.cpp", "tests/DwarfMemoryTest.cpp", "tests/DwarfOpLogTest.cpp", "tests/DwarfOpTest.cpp", |