Skip to content

Remove some Windows specific formatters - #78434

Merged
AaronRobinsonMSFT merged 9 commits into
dotnet:mainfrom
AaronRobinsonMSFT:remove_win_formatters
Nov 17, 2022
Merged

Remove some Windows specific formatters#78434
AaronRobinsonMSFT merged 9 commits into
dotnet:mainfrom
AaronRobinsonMSFT:remove_win_formatters

Conversation

@AaronRobinsonMSFT

Copy link
Copy Markdown
Member

This change has two primary sets of changes, remove the %I64/%I and %S from format strings that exist in unmanaged code. All of the %I* formats have been removed, but many %S still remain (approx 150). The latter must be fully removed before we can delete our private copy of printf.

/cc @janvorli @elinor-fung @am11 @jkotas

@AaronRobinsonMSFT

Copy link
Copy Markdown
Member Author

Unsure why this built on macOS...

Comment thread src/coreclr/vm/gcheaputilities.cpp

@janvorli janvorli left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I just gave it a quick look, I'll take another one tomorrow.

Comment thread src/coreclr/pal/src/cruntime/printfcpp.cpp Outdated
Comment thread src/coreclr/tools/StressLogAnalyzer/StressLogPlugin.cpp Outdated
Comment thread src/coreclr/tools/StressLogAnalyzer/StressLogPlugin.cpp
Comment thread src/coreclr/vm/multicorejit.cpp Outdated
Comment thread src/coreclr/vm/multicorejit.cpp Outdated
Comment thread src/coreclr/vm/multicorejit.cpp Outdated
Comment thread src/coreclr/vm/multicorejit.cpp Outdated
Comment thread src/coreclr/vm/multicorejit.cpp Outdated
@AaronRobinsonMSFT

Copy link
Copy Markdown
Member Author

@janvorli I think I've addressed your feedback. Any other concerns?

@janvorli janvorli left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thank you!

@AaronRobinsonMSFT
AaronRobinsonMSFT merged commit 4f63db1 into dotnet:main Nov 17, 2022
@AaronRobinsonMSFT
AaronRobinsonMSFT deleted the remove_win_formatters branch November 17, 2022 17:06
@ghost ghost locked as resolved and limited conversation to collaborators Dec 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants