summaryrefslogtreecommitdiff
path: root/simpleperf/read_dex_file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'simpleperf/read_dex_file.cpp')
-rw-r--r--simpleperf/read_dex_file.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/simpleperf/read_dex_file.cpp b/simpleperf/read_dex_file.cpp
index 5644f7fc..055a4082 100644
--- a/simpleperf/read_dex_file.cpp
+++ b/simpleperf/read_dex_file.cpp
@@ -28,6 +28,8 @@
#include <android-base/unique_fd.h>
#include <art_api/dex_file_support.h>
+namespace simpleperf {
+
static bool ReadSymbols(
const std::vector<uint64_t>& dex_file_offsets, std::vector<DexFileSymbol>* symbols,
const std::function<std::unique_ptr<art_api::dex::DexFile>(uint64_t offset)>& open_file_cb) {
@@ -96,3 +98,5 @@ bool ReadSymbolsFromDexFile(const std::string& file_path,
return dex_file;
});
}
+
+} // namespace simpleperf