diff options
Diffstat (limited to 'runtime/oat_file.cc')
-rw-r--r-- | runtime/oat_file.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/oat_file.cc b/runtime/oat_file.cc index b0cbd0e..63ee4b1 100644 --- a/runtime/oat_file.cc +++ b/runtime/oat_file.cc @@ -703,6 +703,10 @@ bool OatFile::IsPic() const { // TODO: Check against oat_patches. b/18144996 } +bool OatFile::IsDebuggable() const { + return GetOatHeader().IsDebuggable(); +} + static constexpr char kDexClassPathEncodingSeparator = '*'; std::string OatFile::EncodeDexFileDependencies(const std::vector<const DexFile*>& dex_files) { |