-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Enable EHCONT
and CETCOMPAT
for some binaries on Windows
#56173
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
The changes to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
- Followup to dotnet#55942 - Intended to be merged into a PR that updates to use new PGO profile data collected with the above change - Enabled `/guard:ehcont` as a linker option for EXEs and DLLs - Enabled `/cetcompat` as a linker option for DLLs
Does this require compiler updates? After this change I am getting
EDIT: Installing the latest Windows SDK fixed the issue. |
The new switch |
When I saw these errors I did git clean -dfx and updated VS to the last version (Version 16.11.0), and it did not help, what am I missing? |
That's pretty much all I did too, what errors are you seeing @sandreenko? |
Thanks @jakobbotsch for the help, VS update does not install new SDKs automatically, so I needed to do "VS installer->modify->add Windows 10 SDK (10.0.19/20)"->install |
EHCONT
for some DLLs and for PGO instrumentation #55942/guard:ehcont
as a linker option for EXEs and DLLs/cetcompat
as a linker option for DLLs