Skip to content

Commit 4d0b619

Browse files
authored
Delete HeapEnableTerminationOnCorruption setting (#81343)
HeapEnableTerminationOnCorruption is enabled by default for subsystem major version 6 that we have set for our binaries. Also delete intranet link to a document that does not exist anymore.
1 parent f55ec6f commit 4d0b619

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

src/coreclr/ilasm/main.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,6 @@ extern "C" int _cdecl wmain(int argc, _In_ WCHAR **argv)
142142
bool bClock = false;
143143
Clockwork cw;
144144

145-
#ifdef HOST_WINDOWS
146-
// SWI has requested that the exact form of the function call below be used. For details
147-
// see http://swi/SWI%20Docs/Detecting%20Heap%20Corruption.doc
148-
(void)HeapSetInformation(NULL, HeapEnableTerminationOnCorruption, NULL, 0);
149-
#endif
150-
151145
memset(pwzInputFiles,0,1024*sizeof(WCHAR*));
152146
memset(pwzDeltaFiles,0,1024*sizeof(WCHAR*));
153147
memset(&cw,0,sizeof(Clockwork));

src/coreclr/ildasm/windasm.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -465,11 +465,6 @@ int main(int argc, char* argv[])
465465
}
466466
#endif
467467

468-
#ifdef HOST_WINDOWS
469-
// SWI has requested that the exact form of the function call below be used. For details see http://swi/SWI%20Docs/Detecting%20Heap%20Corruption.doc
470-
(void)HeapSetInformation(NULL, HeapEnableTerminationOnCorruption, NULL, 0);
471-
#endif
472-
473468
#ifdef _DEBUG
474469
DisableThrowCheck();
475470
#endif

0 commit comments

Comments
 (0)