Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix ARM64 Unix debugging
  • Loading branch information
hoyosjs committed Jul 24, 2022
commit 2d864894f619800eedf71b7fb558bac2f08f4ce9
13 changes: 6 additions & 7 deletions src/coreclr/dlls/mscordbi/mscordbi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
//*****************************************************************************
#include "stdafx.h"

#if defined(HOST_ARM64) && defined(TARGET_UNIX)
// Flag to check if atomics feature is available on
// the machine
bool g_arm64_atomics_present = false;
#endif

extern BOOL WINAPI DbgDllMain(HINSTANCE hInstance, DWORD dwReason,
LPVOID lpReserved);

Expand All @@ -19,13 +25,6 @@ extern BOOL WINAPI DbgDllMain(HINSTANCE hInstance, DWORD dwReason,
//*****************************************************************************
extern "C"
#ifdef TARGET_UNIX

#if defined(HOST_ARM64)
// Flag to check if atomics feature is available on
// the machine
bool g_arm64_atomics_present = false;
#endif

DLLEXPORT // For Win32 PAL LoadLibrary emulation
#endif
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
Expand Down