Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@AlexGuteniev
Copy link
Contributor

@AlexGuteniev AlexGuteniev commented Jul 28, 2023

Towards #3888

Changes:

  • In the preprocessor condition, added pre-Win8 check. Starting in Windows8, __fastfail is always available. Mostly added as a reminder that this should be cleaned up further when dropping pre-Win8.
  • Changed terminate to abort as discussed in Consider unifying existing practices of don't-call functions #3888 (comment)
  • Restructured the flow to avoid calling abort() if always calling __fastfail. IMO, the compiler should make the assumption that __fastfail does not return by itself, added DevCom-10425806.

@AlexGuteniev AlexGuteniev requested a review from a team as a code owner July 28, 2023 11:14
@CaseyCarter CaseyCarter added the enhancement Something can be improved label Jul 28, 2023
Copy link
Contributor

@CaseyCarter CaseyCarter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some non-functional changes that I'll go ahead and push.

@AlexGuteniev AlexGuteniev requested a review from celonymire July 30, 2023 12:36
@StephanTLavavej StephanTLavavej self-assigned this Jul 31, 2023
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit fc444ce into microsoft:main Aug 1, 2023
@StephanTLavavej
Copy link
Member

😵 💥 ⚠️

@AlexGuteniev AlexGuteniev deleted the fail_faster branch August 2, 2023 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Something can be improved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants