summaryrefslogtreecommitdiffstats
path: root/libunwindstack/Android.bp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2017-11-03 14:50:27 -0700
committerChristopher Ferris <cferris@google.com>2017-11-07 13:22:39 -0800
commitc9dee84d81e4672dee5dd08890c904d1ab841e56 (patch)
treeb71dfd2d4adf1041b6420cef62492494d00e864c /libunwindstack/Android.bp
parent1e0b9672defa3504915741c8d4cec3cc73f89568 (diff)
downloadsystem_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.bp4
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",