summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryOfflineBufferTest.cpp
diff options
context:
space:
mode:
authorCasey Dahlin <sadmac@google.com>2019-03-12 17:50:52 -0700
committerChristopher Ferris <cferris@google.com>2019-06-11 12:09:18 -0700
commit6b95a0e9993ac6563476b0489c1ef982f8412f21 (patch)
tree4a1b2a73b520c3c2051640c887c69f1486dfc6c9 /libunwindstack/tests/MemoryOfflineBufferTest.cpp
parent1d7f3b4f4e4bda94cc1a9b6e4291b414b97a3180 (diff)
Internalize subclasses of Memory
There are many subclasses of the Memory class and the overwhelming majority of them don't need to be exposed externally. We move all of them to internal headers except MemoryOfflineBuffer, which moves to a separate header. This dramatically reduces the exposed API surface and makes the code more modular. Also, remove the Offline code from libbacktrace. It's not used any where. Test: Unit tests pass, clean tree still builds Change-Id: I55dacdf080daba0bfe65c1ad53a4b326bb482e83
Diffstat (limited to 'libunwindstack/tests/MemoryOfflineBufferTest.cpp')
-rw-r--r--libunwindstack/tests/MemoryOfflineBufferTest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libunwindstack/tests/MemoryOfflineBufferTest.cpp b/libunwindstack/tests/MemoryOfflineBufferTest.cpp
index f022884cb..c62c53dae 100644
--- a/libunwindstack/tests/MemoryOfflineBufferTest.cpp
+++ b/libunwindstack/tests/MemoryOfflineBufferTest.cpp
@@ -18,9 +18,8 @@
#include <gtest/gtest.h>
-#include <unwindstack/Memory.h>
-
#include "LogFake.h"
+#include "MemoryOfflineBuffer.h"
namespace unwindstack {