Skip to content

Delete HeapEnableTerminationOnCorruption setting #81343

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 30, 2023
Merged
Show file tree
Hide file tree
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
6 changes: 0 additions & 6 deletions src/coreclr/ilasm/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,6 @@ extern "C" int _cdecl wmain(int argc, _In_ WCHAR **argv)
bool bClock = false;
Clockwork cw;

#ifdef HOST_WINDOWS
// 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
(void)HeapSetInformation(NULL, HeapEnableTerminationOnCorruption, NULL, 0);
#endif

memset(pwzInputFiles,0,1024*sizeof(WCHAR*));
memset(pwzDeltaFiles,0,1024*sizeof(WCHAR*));
memset(&cw,0,sizeof(Clockwork));
Expand Down
5 changes: 0 additions & 5 deletions src/coreclr/ildasm/windasm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -465,11 +465,6 @@ int main(int argc, char* argv[])
}
#endif

#ifdef HOST_WINDOWS
// 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
(void)HeapSetInformation(NULL, HeapEnableTerminationOnCorruption, NULL, 0);
#endif

#ifdef _DEBUG
DisableThrowCheck();
#endif
Expand Down