-
Notifications
You must be signed in to change notification settings - Fork 5k
Cleanup some PAL items #115986
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
Cleanup some PAL items #115986
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.
Pull Request Overview
This PR cleans up unused performance tracing infrastructure and macros from PAL, while standardizing path length macros across the codebase. Key changes include the removal of perftrace‐related code and tests, replacing instances of _MAX_PATH with MAX_PATH, and updating build configuration files accordingly.
Reviewed Changes
Copilot reviewed 31 out of 31 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
src/coreclr/pal/tests/palsuite/paltestlist.txt | Removed GetACP test entry. |
src/coreclr/pal/tests/palsuite/locale_info/GetACP/test1/test1.cpp src/coreclr/pal/tests/palsuite/file_io/GetConsoleOutputCP/test1/GetConsoleOutputCP.cpp |
Removed obsolete test files. |
src/coreclr/pal/tests/palsuite/file_io/SearchPathW/test1/SearchPathW.cpp | Replaced _MAX_PATH with MAX_PATH for buffer allocations. |
src/coreclr/pal/tests/palsuite/common/palsuite.h, CMakeLists.txt, and other PAL files | Removed perftrace related code and macros, and updated references to use MAX_PATH consistently. |
src/coreclr/md/compiler/regmeta_vm.cpp src/coreclr/ilasm/assembler.h src/coreclr/debug/di/module.cpp |
Updated inline string buffer sizes from _MAX_PATH to MAX_PATH. |
Tagging subscribers to this area: @mangod9 |
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.
Thanks
Remove perftrace infrastucture from PAL
Remove some unused/unuseful macros