-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix windows pdb #9229
base: master
Are you sure you want to change the base?
Fix windows pdb #9229
Conversation
Visual Studio 17 seems to compile the original code into something that make coverage into MAX_SMALL instead of coverage_data. Extracting the data into a variable seems to fix the error, don't know why but hopefully it will be fixed in the compiler someday. Or maybe the original code is somesort of undefined behaviour I'm unable to see. The original code compiles as it should in Visual Studio 14.
068fb0d
to
59dd2b3
Compare
CT Test Results 5 files 149 suites 59m 8s ⏱️ For more details on these failures, see this check. Results for commit 865e27b. ♻️ This comment has been updated with latest results. To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass. See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally. Artifacts// Erlang/OTP Github Action Bot |
59dd2b3
to
0505bd7
Compare
8fcad95
to
c8e04ac
Compare
When debugging on windows, the name of the pdb file is not the name of the file being debugger, but the name of the file as it was compiled. We rename beam.jit.dll to beam.smp.dll during the build so the pdb needed is called jit.pdb and not smp.pdb. We also make sure to release all pdb files so that they are part of the installer.
aa7042d
to
46ea616
Compare
fe35be8
to
ccbfa16
Compare
ccbfa16
to
1c4f7ee
Compare
This PR fixes some issues on Windows, mainly it makes sure that the correct pdb files are released so that they are part of the installer and can be used to debug crashes in erts.