summaryrefslogtreecommitdiff
path: root/dexlayout/dexlayout.h
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2017-03-14 02:33:20 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-03-14 02:33:20 +0000
commit224f6ab7620ddbc20a338e56ccf9952d86b08b51 (patch)
treef07435d668c04c239dca0036b6b072611d45b046 /dexlayout/dexlayout.h
parent13ef0447b43ecbf18d3c4e4c72d66bbbc1815f0c (diff)
parentec7f1a96683836d9375adc48c6bf802c0ce2160e (diff)
Merge "Added new -v option to dexlayout to verify output dex file."
Diffstat (limited to 'dexlayout/dexlayout.h')
-rw-r--r--dexlayout/dexlayout.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/dexlayout/dexlayout.h b/dexlayout/dexlayout.h
index 74b525372e..f26b423847 100644
--- a/dexlayout/dexlayout.h
+++ b/dexlayout/dexlayout.h
@@ -58,6 +58,7 @@ class Options {
bool show_section_headers_ = false;
bool show_section_statistics_ = false;
bool verbose_ = false;
+ bool verify_output_ = false;
bool visualize_pattern_ = false;
OutputFormat output_format_ = kOutputPlain;
const char* output_dex_directory_ = nullptr;
@@ -115,7 +116,7 @@ class DexLayout {
// Creates a new layout for the dex file based on profile info.
// Currently reorders ClassDefs, ClassDataItems, and CodeItems.
void LayoutOutputFile(const DexFile* dex_file);
- void OutputDexFile(const std::string& dex_file_location);
+ void OutputDexFile(const DexFile* dex_file);
void DumpCFG(const DexFile* dex_file, int idx);
void DumpCFG(const DexFile* dex_file, uint32_t dex_method_idx, const DexFile::CodeItem* code);