summaryrefslogtreecommitdiff
path: root/compiler/linker/relative_patcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/linker/relative_patcher.cc')
-rw-r--r--compiler/linker/relative_patcher.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/linker/relative_patcher.cc b/compiler/linker/relative_patcher.cc
index ee49453938..dc15bb087e 100644
--- a/compiler/linker/relative_patcher.cc
+++ b/compiler/linker/relative_patcher.cc
@@ -16,6 +16,7 @@
#include "linker/relative_patcher.h"
+#include "debug/method_debug_info.h"
#ifdef ART_ENABLE_CODEGEN_arm
#include "linker/arm/relative_patcher_thumb2.h"
#endif
@@ -81,6 +82,11 @@ std::unique_ptr<RelativePatcher> RelativePatcher::Create(
LOG(FATAL) << "Unexpected baker read barrier branch patch.";
}
+ std::vector<debug::MethodDebugInfo> GenerateThunkDebugInfo(
+ uint32_t executable_offset ATTRIBUTE_UNUSED) OVERRIDE {
+ return std::vector<debug::MethodDebugInfo>(); // No thunks added.
+ }
+
private:
DISALLOW_COPY_AND_ASSIGN(RelativePatcherNone);
};