-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Enable full symbols for windows #6853
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 full symbols for windows #6853
Conversation
Plus CodeCoverage for windows
…ied) in build.psm1
PowerShell.Common.props
Outdated
| <DebugType>full</DebugType> | ||
| </PropertyGroup> | ||
|
|
||
| <PropertyGroup Condition=" '$(Configuration)' == 'Release' And '$(IsWindows)' == 'true' "> |
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.
true -> false
build.psm1
Outdated
| Write-Verbose "Using configuration '$Configuration'" | ||
|
|
||
| $PowerShellDir = if ($Configuration -eq 'Linux') { | ||
| $PowerShellDir = if ($Environment.IsLinux -or $Environment.IsMacOS) { |
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.
can we do -not $Environment.IsWindows here as we elsewhere. Non-blocking.
| <DebugType>full</DebugType> | ||
| </PropertyGroup> | ||
|
|
||
|
|
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.
Extra line?
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.
We usually have a blank line between groups.
PowerShell.Common.props
Outdated
| </PropertyGroup> | ||
|
|
||
| <PropertyGroup Condition=" '$(Configuration)' == 'Release' And '$(IsWindows)' == 'true' "> | ||
| <!-- Define non-windows, release configuratio properties --> |
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.
typo configuratio -> configuration
daxian-dbw
left a comment
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
509f48c to
81c795c
Compare
|
I filed an issue with dotnet for the issue encountered with optimizing non-windows platforms: https://github.com/dotnet/corefx/issues/29700 |
| <!-- Set-Date fails with optimize enabled in NonWindowsSetDate | ||
| Debugging the issues resolves the problem | ||
| --> | ||
| <Optimize>false</Optimize> |
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.
@TravisEz13 Should we set true because we fixed Set-Date?
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.
There is a tracking issue with all the steps: #6872 We still have some steps before we can change this.
PR Summary
The main purpose of this was to enable full symbols for windows release build.
I discovered an additional issue when trying to fix this:
This PR addresses this my merging the Linux configuration into the release configuration and using a condition to add the build constant for unixUpdate: optimizing on mac and Linux cause crashes. An issue was filed to track this: https://github.com/dotnet/corefx/issues/29700
Before we merge, I should validate that the release build works for:
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.[feature]if the change is significant or affects feature tests