Skip to content

Commit 2760222

Browse files
[mono] Set /DEBUGTYPE:CV,FIXUP on binaries (#99356)
This fixes an issue with running APIScan on mono-aot-cross.exe
1 parent a3de6b7 commit 2760222

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mono/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ elseif(CLR_CMAKE_HOST_OS STREQUAL "windows")
284284
add_compile_options(/GL) # whole program optimization
285285
add_link_options(/LTCG) # link-time code generation
286286
add_link_options(/DEBUG) # enable debugging information
287+
add_link_options(/DEBUGTYPE:CV,FIXUP) # enable fixup debug information
287288
add_link_options(/OPT:REF) # optimize: remove unreferenced functions & data
288289
add_link_options(/OPT:ICF) # optimize: enable COMDAT folding
289290
# the combination of /Zi compiler flag and /DEBUG /OPT:REF /OPT:ICF

0 commit comments

Comments
 (0)