Skip to content

Commit a6a3475

Browse files
authored
Delete unused corpublish support and multi appdomain support in the debugger (#117688)
* Delete unused corpublish support * Simplify debugger handling for appdomains as we always have only one.
1 parent 0d7b88c commit a6a3475

File tree

19 files changed

+64
-3483
lines changed

19 files changed

+64
-3483
lines changed

src/coreclr/debug/di/cordb.cpp

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,9 @@
3232
//-----------------------------------------------------------------------------
3333
// In v1.0, we declared that mscordbi was a "shared" component, which means
3434
// that we promised to provide it from now until the end of time. So every CLR implementation
35-
// needs an Mscordbi that implements the everett guids for CorDebug + CorPublish.
35+
// needs an Mscordbi that implements the everett guids for CorDebug
3636
//
37-
// This works fine for CorPublish, which is truly shared.
38-
// CorDebug however is "versioned" not "shared" - each version of the CLR has its own disjoint copy.
37+
// CorDebug is "versioned" not "shared" - each version of the CLR has its own disjoint copy.
3938
//
4039
// Thus creating a CorDebug object requires a version parameter.
4140
// CoCreateInstance doesn't have a the version param, so we use the new (v2.0+)
@@ -307,14 +306,6 @@ STDAPI DLLEXPORT DllGetClassObjectInternal( // Return code.
307306
CClassFactory *pClassFactory; // To create class factory object.
308307
PFN_CREATE_OBJ pfnCreateObject = NULL;
309308

310-
311-
#if defined(FEATURE_DBG_PUBLISH)
312-
if (rclsid == CLSID_CorpubPublish)
313-
{
314-
pfnCreateObject = CorpubPublish::CreateObject;
315-
}
316-
else
317-
#endif
318309
#if defined(FEATURE_DBGIPC_TRANSPORT_DI)
319310
if (rclsid == CLSID_CorDebug_Telesto)
320311
{

0 commit comments

Comments
 (0)