Skip to content

Commit c9b96d9

Browse files
hjyamauchicompnerd
authored andcommitted
Enable PDBs for the runtime dlls.
1 parent 2a539e7 commit c9b96d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,7 @@ function Build-Runtime($Arch)
774774
SWIFT_PATH_TO_LIBDISPATCH_SOURCE = "$SourceCache\swift-corelibs-libdispatch";
775775
SWIFT_PATH_TO_STRING_PROCESSING_SOURCE = "$SourceCache\swift-experimental-string-processing";
776776
SWIFT_PATH_TO_SWIFT_SYNTAX_SOURCE = "$SourceCache\swift-syntax";
777+
CMAKE_SHARED_LINKER_FLAGS = "/DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF";
777778
}
778779

779780
Invoke-Program $python -c "import plistlib; print(str(plistlib.dumps({ 'DefaultProperties': { 'DEFAULT_USE_RUNTIME': 'MD' } }), encoding='utf-8'))" `

0 commit comments

Comments
 (0)