summaryrefslogtreecommitdiff
path: root/compiler/linker/relative_patcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/linker/relative_patcher.h')
-rw-r--r--compiler/linker/relative_patcher.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/linker/relative_patcher.h b/compiler/linker/relative_patcher.h
index 38c8228422..53a096627f 100644
--- a/compiler/linker/relative_patcher.h
+++ b/compiler/linker/relative_patcher.h
@@ -31,6 +31,10 @@ class CompiledMethod;
class LinkerPatch;
class OutputStream;
+namespace debug {
+struct MethodDebugInfo;
+} // namespace debug
+
namespace linker {
/**
@@ -114,6 +118,9 @@ class RelativePatcher {
const LinkerPatch& patch,
uint32_t patch_offset) = 0;
+ virtual std::vector<debug::MethodDebugInfo> GenerateThunkDebugInfo(
+ uint32_t executable_offset) = 0;
+
protected:
RelativePatcher()
: size_code_alignment_(0u),