[MSVCRTEX] Only include _CrtDbgReport*, if we don't already export them (#6797)

* [MSVCRTEX] Only include _CrtDbgReport*, if we don't already export them

For some reason clang builds now want the ___chkstk_ms on x64 as well, so add it.
This commit is contained in:
Timo Kreuzer 2024-04-27 13:59:06 +02:00 committed by GitHub
parent dcf9eb060a
commit 701b0a3f24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -16,9 +16,11 @@
.code64
PUBLIC __chkstk
PUBLIC ___chkstk_ms
PUBLIC __alloca_probe
__alloca_probe:
___chkstk_ms:
.PROC __chkstk
push rcx /* save temps */

View file

@ -4,7 +4,6 @@ include_directories(include/internal/mingw-w64)
list(APPEND MSVCRTEX_SOURCE
${CRT_STARTUP_SOURCE}
math/sincos.c
misc/dbgrpt.cpp
misc/fltused.c
misc/isblank.c
misc/iswblank.c
@ -13,6 +12,7 @@ list(APPEND MSVCRTEX_SOURCE
if(DLL_EXPORT_VERSION LESS 0x600)
list(APPEND MSVCRTEX_SOURCE
misc/dbgrpt.cpp
stdlib/_invalid_parameter.c
stdlib/rand_s.c
)