summaryrefslogtreecommitdiffstats
path: root/compiler/debug/elf_debug_info_writer.h
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2016-11-28 07:38:35 -0800
committerAndreas Gampe <agampe@google.com>2016-11-29 11:11:46 -0800
commit8a0128a5ca0784f6d2b4ca27907e8967a74bc4c5 (patch)
tree0dec75200282ae5e49785395e97bd4e6459f1c09 /compiler/debug/elf_debug_info_writer.h
parent60438b46090d22bb9b978196f5aa53fab3b89759 (diff)
downloadart-8a0128a5ca0784f6d2b4ca27907e8967a74bc4c5.tar.gz
art-8a0128a5ca0784f6d2b4ca27907e8967a74bc4c5.tar.bz2
art-8a0128a5ca0784f6d2b4ca27907e8967a74bc4c5.zip
ART: Add dex::StringIndex
Add abstraction for uint32_t string index. Test: m test-art-host Change-Id: I917c2881702fe3df112c713f06980f2278ced7ed
Diffstat (limited to 'compiler/debug/elf_debug_info_writer.h')
-rw-r--r--compiler/debug/elf_debug_info_writer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/debug/elf_debug_info_writer.h b/compiler/debug/elf_debug_info_writer.h
index 0a4f094494..30d4b47c6a 100644
--- a/compiler/debug/elf_debug_info_writer.h
+++ b/compiler/debug/elf_debug_info_writer.h
@@ -53,7 +53,7 @@ static std::vector<const char*> GetParamNames(const MethodDebugInfo* mi) {
uint32_t parameters_size = DecodeUnsignedLeb128(&stream);
for (uint32_t i = 0; i < parameters_size; ++i) {
uint32_t id = DecodeUnsignedLeb128P1(&stream);
- names.push_back(mi->dex_file->StringDataByIdx(id));
+ names.push_back(mi->dex_file->StringDataByIdx(dex::StringIndex(id)));
}
}
}