Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git "a/lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp" "b/lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp"
- index 7b810c0fee43..f6d45685e4b7 100644
- --- "a/lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp"
- +++ "b/lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp"
- @@ -195,7 +195,17 @@ void JITLoaderGDB::SetJITBreakpoint(lldb_private::ModuleList &module_list) {
- return;
- m_jit_descriptor_addr = GetSymbolAddress(
- - module_list, ConstString("__jit_debug_descriptor"), eSymbolTypeData);
- + module_list, ConstString("__jit_debug_descriptor"),
- +
- +#if defined WIN32 || defined WINDOWS || defined WIN64
- + // ADV_SW_PATCH: Windows implementation not indicating symbol is Data
- + // so we use Any as workaround for the time being.
- + eSymbolTypeAny);
- +#else
- + eSymbolTypeData);
- +#endif
- +
- +
- if (m_jit_descriptor_addr == LLDB_INVALID_ADDRESS) {
- LLDB_LOGF(log, "JITLoaderGDB::%s failed to find JIT descriptor address",
- __FUNCTION__);
Advertisement
Add Comment
Please, Sign In to add comment