Skip to content
Merged
Changes from 2 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
7 changes: 7 additions & 0 deletions src/coreclr/vm/ceeload.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2265,6 +2265,13 @@ ISymUnmanagedReader *Module::GetISymUnmanagedReader(void)
{
RETURN (NULL);
}

#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__)
// Because NATIVE_SYMBOL_READER_DLL is a window-only library, an attempt to load it is guaranteed to fail.
// Let's not do this
RETURN (NULL);
#endif //defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__)

symbolReaderPath.Append(NATIVE_SYMBOL_READER_DLL);
hr = FakeCoCreateInstanceEx(CLSID_CorSymBinder_SxS, symbolReaderPath.GetUnicode(), IID_ISymUnmanagedBinder, (void**)&pBinder, NULL);
if (FAILED(hr))
Expand Down