From 6a2e3b34c3c9ac32456d38567b9f44ab6aea2f63 Mon Sep 17 00:00:00 2001 From: Rama Krishnan Raghupathy Date: Wed, 30 Mar 2016 20:00:57 -0700 Subject: Getting SOS to work on ARm64: This mainly involved DACizing the VM code. A bulk edit for changing RUNTIME_FUNCTION to T_RUNTIME_FUNCTION [tfs-changeset: 1591667] --- src/vm/stublink.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/vm/stublink.h') diff --git a/src/vm/stublink.h b/src/vm/stublink.h index 8df3499b68..d7f0034587 100644 --- a/src/vm/stublink.h +++ b/src/vm/stublink.h @@ -349,7 +349,7 @@ protected: { if (m_nUnwindSlots == 0) return 0; - return sizeof(RUNTIME_FUNCTION) + offsetof(UNWIND_INFO, UnwindCode) + m_nUnwindSlots * sizeof(UNWIND_CODE); + return sizeof(T_RUNTIME_FUNCTION) + offsetof(UNWIND_INFO, UnwindCode) + m_nUnwindSlots * sizeof(UNWIND_CODE); } #endif // _TARGET_AMD64_ @@ -359,7 +359,7 @@ protected: // epilog. private: // Reserve fixed size block that's big enough to fit any unwind info we can have - static const int c_nUnwindInfoSize = sizeof(RUNTIME_FUNCTION) + sizeof(DWORD) + MAX_UNWIND_CODE_WORDS *4; + static const int c_nUnwindInfoSize = sizeof(T_RUNTIME_FUNCTION) + sizeof(DWORD) + MAX_UNWIND_CODE_WORDS *4; // // Returns total UnwindInfoSize, including RUNTIME_FUNCTION entry @@ -377,7 +377,7 @@ private: private: // Reserve fixed size block that's big enough to fit any unwind info we can have - static const int c_nUnwindInfoSize = sizeof(RUNTIME_FUNCTION) + sizeof(DWORD) + MAX_UNWIND_CODE_WORDS *4; + static const int c_nUnwindInfoSize = sizeof(T_RUNTIME_FUNCTION) + sizeof(DWORD) + MAX_UNWIND_CODE_WORDS *4; UINT UnwindInfoSize(UINT codeSize) { if (!m_fProlog) return 0; -- cgit v1.2.3