summaryrefslogtreecommitdiff
path: root/compiler/debug/method_debug_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/debug/method_debug_info.h')
-rw-r--r--compiler/debug/method_debug_info.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/debug/method_debug_info.h b/compiler/debug/method_debug_info.h
index ed1da2c26e..567891087a 100644
--- a/compiler/debug/method_debug_info.h
+++ b/compiler/debug/method_debug_info.h
@@ -17,6 +17,8 @@
#ifndef ART_COMPILER_DEBUG_METHOD_DEBUG_INFO_H_
#define ART_COMPILER_DEBUG_METHOD_DEBUG_INFO_H_
+#include <string>
+
#include "compiled_method.h"
#include "dex_file.h"
@@ -24,7 +26,7 @@ namespace art {
namespace debug {
struct MethodDebugInfo {
- const char* trampoline_name;
+ std::string trampoline_name;
const DexFile* dex_file; // Native methods (trampolines) do not reference dex file.
size_t class_def_index;
uint32_t dex_method_index;