Skip to content
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

Remove support for older LLVM versions, and re-order linker flags #105110

Merged
merged 53 commits into from
Aug 1, 2024
Merged
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
ad7e050
Remove support for older LLVM versions, and re-order linker flags
directhex Jul 18, 2024
e446d5f
Merge branch 'main' into make-llvm-16-required-and-fix-linker-order
lewing Jul 22, 2024
17e0ef7
Merge branch 'main' into make-llvm-16-required-and-fix-linker-order
akoeplinger Jul 24, 2024
931a4bc
Bumping clang and llvm - make docs less ambiguous. (#105401)
ilonatommy Jul 24, 2024
79a0676
Bump main to RC1 (#105338)
carlossanlop Jul 24, 2024
5af0857
Update SDK to preview 6 (#104696)
am11 Jul 24, 2024
ce4f616
Change DefaultMaximumErrorResponseLength to KB from Byte (#105396)
liveans Jul 24, 2024
f595707
Fix warning for MakeGenericType annotation mismatch (#104921)
sbomer Jul 24, 2024
8c27dad
Set GCStressIncompatible on GenericContext tests (#104686)
steveisok Jul 24, 2024
62c6854
Add runtime config parameter to force ijwhost to load assemblies in a…
mikeoliphant Jul 24, 2024
a75140d
[RISC-V] Fix passing float and uint arguments in VM (#105021)
tomeksowi Jul 24, 2024
a36754a
Fix platform analyzer attribute order for MacCatalyst (#105409)
akoeplinger Jul 25, 2024
1ca091e
Use correct `ExceptionArgument` value in `System.IO.Pipelines` (#105…
xtqqczze Jul 25, 2024
1928c50
Remove zlib from requirements script and instruction files (#105419)
carlossanlop Jul 25, 2024
b5076e1
Revert "Remove zlib from requirements script and instruction files (#…
jkotas Jul 25, 2024
06c6eea
Ensure that WaitForPendingFinalizers has seen the expected Full GC co…
VSadov Jul 25, 2024
7942b5b
Migrate to zlib-ng, part 3: Remove zlib and zlib-intel source code an…
carlossanlop Jul 25, 2024
f6bca30
[browser] Trigger relink on `EmccMaximumHeapSize` change (#105027)
ilonatommy Jul 25, 2024
c50bd0b
Delete erroneous Socket test (#105448)
stephentoub Jul 25, 2024
113fd97
Pull the python dependency from the EmsdkVersion where possible (#105…
lewing Jul 25, 2024
99d5cbc
Use `BinaryPrimitives` more in the ILCompiler (#105404)
PaulusParssinen Jul 25, 2024
a94af90
JIT: use VNVisitReachingVNs in IsVNNeverNegative (#105197)
EgorBo Jul 25, 2024
d0282ab
Set xunit env var to not print output for passing tests (#105392)
ViktorHofer Jul 25, 2024
cad5a00
Some more automated C# modernization in corelib (#105151)
stephentoub Jul 25, 2024
dbcbd8a
Fix ECMA 355 Partition download links (#105454)
darthwalsh Jul 25, 2024
27a0dab
Add swiftcall signature check for `mono_class_try_get_swift_error_cla…
kotlarmilos Jul 25, 2024
e0f70b7
Enable NativeAOT runtime tests on MacCatalyst (#102882)
kotlarmilos Jul 25, 2024
2af5db2
Resolving an antigen failure (#105260)
tannergooding Jul 25, 2024
b025166
Support field access on GetType() of T constrained to be Enum (#105351)
sbomer Jul 25, 2024
ec5ac99
Update mono to support shuffle for constant inputs (#105299)
tannergooding Jul 25, 2024
a16097d
Make TooDeepJsonDocument test more consistent across platforms (#105445)
stephentoub Jul 25, 2024
4541933
Update the TypeLib embedding and add comments on API use (#105416)
AaronRobinsonMSFT Jul 25, 2024
4ff0041
Update docs for ByRefLike with generics for work in .NET 10 (#103318)
AaronRobinsonMSFT Jul 25, 2024
88a8796
Fix double printing in StressLog and simplify stresslog macros (#105420)
jkoritzinsky Jul 25, 2024
5be20e8
Add support for nested types in the `corelib.h` parser for rooting de…
jkoritzinsky Jul 25, 2024
ad957f2
Fixed for assertion failure due to not checking if we are processing …
mrsharm Jul 25, 2024
4f66316
[PERF] Use correct python executable on windows in venv (#105451)
caaavik-msft Jul 25, 2024
b4730cd
Fix up Fuzzlyn CI scripts for new hardware intrinsics support (#105470)
jakobbotsch Jul 25, 2024
28ad257
Try to re-enable DeepEquals_TooDeepJsonDocument_ThrowsInsufficientExe…
stephentoub Jul 25, 2024
511c9f3
zlib-ng: avoid suppressing WD4242 and WD4244 (#105433)
carlossanlop Jul 25, 2024
9af8815
Delete outdated comments (#105519)
jkotas Jul 26, 2024
e6cbc87
Arm64/Sve: Add FFR register liveness tracking (#105348)
kunalspathak Jul 26, 2024
b2e41aa
Fix throwing exception when calling RunClassConstructor on a generic …
steveisok Jul 26, 2024
ff08208
[RISC-V][LoongArch64] New passing info for floating-point structs (#1…
tomeksowi Jul 26, 2024
5ce7d3f
Ensure we don't reuse temps when calling fgMorphArgs on LIR nodes (#1…
tannergooding Jul 26, 2024
27dd261
Ensure constant evaluation of shifts on xarch broadcast the operand t…
tannergooding Jul 26, 2024
0b1f89a
Use ConcurrentDictionary in runtimecounters test (#105520)
jkotas Jul 26, 2024
d111595
Fix issue 98506 - Excessive exceptions generated in StackTraceSymbols…
mikem8361 Jul 26, 2024
9248da8
Clean up some usages of LowLevelList<T> (#105407)
huoyaoyuan Jul 26, 2024
35c69cf
Fix ShuffleThunk cache heap (#105480)
janvorli Jul 26, 2024
7cf917e
[browser] Fix computing destination sub path and publish extension ta…
maraf Jul 26, 2024
ccc87e4
Bump flags to LLVM 19, not 16
directhex Jul 26, 2024
fe4c42f
Merge remote-tracking branch 'origin/main' into make-llvm-16-required…
directhex Jul 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 4 additions & 18 deletions src/mono/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -605,30 +605,16 @@ if(LLVM_PREFIX)
string(REGEX REPLACE ".*MONO_API_VERSION ([0-9]+)" "\\1" llvm_api_version ${llvm_api_version_line})

# llvm-config --libs analysis core bitwriter mcjit orcjit
set(MONO_llvm_core_libs "LLVMOrcJIT" "LLVMPasses" "LLVMCoroutines" "LLVMipo" "LLVMInstrumentation" "LLVMVectorize" "LLVMScalarOpts" "LLVMLinker" "LLVMIRReader" "LLVMAsmParser" "LLVMInstCombine" "LLVMFrontendOpenMP" "LLVMAggressiveInstCombine" "LLVMTransformUtils" "LLVMJITLink" "LLVMMCJIT" "LLVMExecutionEngine" "LLVMTarget" "LLVMRuntimeDyld" "LLVMBitWriter" "LLVMAnalysis" "LLVMProfileData" "LLVMObject" "LLVMTextAPI" "LLVMMCParser" "LLVMMC" "LLVMDebugInfoCodeView" "LLVMBitReader" "LLVMCore" "LLVMRemarks" "LLVMBitstreamReader" "LLVMBinaryFormat" "LLVMSupport" "LLVMDemangle")
if(${llvm_api_version} LESS 1600)
set(MONO_llvm_core_libs ${MONO_llvm_core_libs} "LLVMObjCARCOpts" "LLVMMCDisassembler" "LLVMOrcTargetProcess" "LLVMOrcShared" "LLVMDebugInfoDWARF")
else()
set(MONO_llvm_core_libs ${MONO_llvm_core_libs} "LLVMIRPrinter" "LLVMCodeGen" "LLVMObjCARCOpts" "LLVMMCDisassembler" "LLVMWindowsDriver" "LLVMOption" "LLVMOrcTargetProcess" "LLVMOrcShared" "LLVMSymbolize" "LLVMDebugInfoPDB" "LLVMDebugInfoMSF" "LLVMDebugInfoDWARF" "LLVMTargetParser")
endif()
set(MONO_llvm_core_libs "LLVMOrcJIT" "LLVMPasses" "LLVMIRPrinter" "LLVMHipStdPar" "LLVMCoroutines" "LLVMipo" "LLVMInstrumentation" "LLVMVectorize" "LLVMLinker" "LLVMFrontendOpenMP" "LLVMFrontendOffloading" "LLVMCodeGen" "LLVMScalarOpts" "LLVMInstCombine" "LLVMObjCARCOpts" "LLVMCodeGenTypes" "LLVMCFGuard" "LLVMAggressiveInstCombine" "LLVMTransformUtils" "LLVMWindowsDriver" "LLVMJITLink" "LLVMOption" "LLVMMCJIT" "LLVMExecutionEngine" "LLVMTarget" "LLVMRuntimeDyld" "LLVMOrcTargetProcess" "LLVMOrcShared" "LLVMBitWriter" "LLVMAnalysis" "LLVMProfileData" "LLVMSymbolize" "LLVMDebugInfoBTF" "LLVMDebugInfoPDB" "LLVMDebugInfoMSF" "LLVMDebugInfoDWARF" "LLVMObject" "LLVMTextAPI" "LLVMMCParser" "LLVMIRReader" "LLVMAsmParser" "LLVMMC" "LLVMDebugInfoCodeView" "LLVMBitReader" "LLVMCore" "LLVMRemarks" "LLVMBitstreamReader" "LLVMBinaryFormat" "LLVMTargetParser" "LLVMSupport" "LLVMDemangle")

# llvm-config --libs x86codegen
set(MONO_llvm_extra_libs_x86codegen "LLVMX86CodeGen" "LLVMCFGuard" "LLVMGlobalISel" "LLVMX86Desc" "LLVMX86Info" "LLVMMCDisassembler" "LLVMSelectionDAG" "LLVMAsmPrinter" "LLVMDebugInfoDWARF" "LLVMCodeGen" "LLVMTarget" "LLVMScalarOpts" "LLVMInstCombine" "LLVMAggressiveInstCombine" "LLVMTransformUtils" "LLVMBitWriter" "LLVMAnalysis" "LLVMProfileData" "LLVMObject" "LLVMTextAPI" "LLVMMCParser" "LLVMMC" "LLVMDebugInfoCodeView" "LLVMDebugInfoMSF" "LLVMBitReader" "LLVMCore" "LLVMRemarks" "LLVMBitstreamReader" "LLVMBinaryFormat" "LLVMSupport" "LLVMDemangle")
if(${llvm_api_version} GREATER_EQUAL 1600)
set(MONO_llvm_extra_libs_x86codegen ${MONO_llvm_extra_libs_x86codegen} "LLVMInstrumentation" "LLVMObjCARCOpts" "LLVMSymbolize" "LLVMDebugInfoPDB" "LLVMIRReader" "LLVMAsmParser" "LLVMTargetParser")
endif()
set(MONO_llvm_extra_libs_x86codegen "LLVMX86CodeGen" "LLVMX86Desc" "LLVMX86Info" "LLVMMCDisassembler" "LLVMInstrumentation" "LLVMIRPrinter" "LLVMGlobalISel" "LLVMSelectionDAG" "LLVMCFGuard" "LLVMAsmPrinter" "LLVMCodeGen" "LLVMTarget" "LLVMScalarOpts" "LLVMInstCombine" "LLVMAggressiveInstCombine" "LLVMObjCARCOpts" "LLVMTransformUtils" "LLVMCodeGenTypes" "LLVMBitWriter" "LLVMAnalysis" "LLVMProfileData" "LLVMSymbolize" "LLVMDebugInfoBTF" "LLVMDebugInfoPDB" "LLVMDebugInfoMSF" "LLVMDebugInfoDWARF" "LLVMObject" "LLVMTextAPI" "LLVMMCParser" "LLVMIRReader" "LLVMAsmParser" "LLVMMC" "LLVMDebugInfoCodeView" "LLVMBitReader" "LLVMCore" "LLVMRemarks" "LLVMBitstreamReader" "LLVMBinaryFormat" "LLVMTargetParser" "LLVMSupport" "LLVMDemangle")

# llvm-config --libs armcodegen
set(MONO_llvm_extra_libs_armcodegen "LLVMARMCodeGen" "LLVMCFGuard" "LLVMGlobalISel" "LLVMSelectionDAG" "LLVMAsmPrinter" "LLVMDebugInfoDWARF" "LLVMCodeGen" "LLVMTarget" "LLVMScalarOpts" "LLVMInstCombine" "LLVMAggressiveInstCombine" "LLVMTransformUtils" "LLVMBitWriter" "LLVMAnalysis" "LLVMProfileData" "LLVMObject" "LLVMTextAPI" "LLVMMCParser" "LLVMBitReader" "LLVMCore" "LLVMRemarks" "LLVMBitstreamReader" "LLVMARMDesc" "LLVMMCDisassembler" "LLVMMC" "LLVMDebugInfoCodeView" "LLVMDebugInfoMSF" "LLVMBinaryFormat" "LLVMARMUtils" "LLVMARMInfo" "LLVMSupport" "LLVMDemangle")
if(${llvm_api_version} GREATER_EQUAL 1600)
set(MONO_llvm_extra_libs_armcodegen ${MONO_llvm_extra_libs_armcodegen} "LLVMipo" "LLVMInstrumentation" "LLVMVectorize" "LLVMLinker" "LLVMFrontendOpenMP" "LLVMObjCARCOpts" "LLVMSymbolize" "LLVMDebugInfoPDB" "LLVMIRReader" "LLVMAsmParser" "LLVMTargetParser")
endif()
set(MONO_llvm_extra_libs_armcodegen "LLVMARMCodeGen" "LLVMipo" "LLVMInstrumentation" "LLVMVectorize" "LLVMLinker" "LLVMFrontendOpenMP" "LLVMFrontendOffloading" "LLVMGlobalISel" "LLVMSelectionDAG" "LLVMCFGuard" "LLVMAsmPrinter" "LLVMCodeGen" "LLVMTarget" "LLVMScalarOpts" "LLVMInstCombine" "LLVMAggressiveInstCombine" "LLVMObjCARCOpts" "LLVMTransformUtils" "LLVMBitWriter" "LLVMAnalysis" "LLVMProfileData" "LLVMSymbolize" "LLVMDebugInfoBTF" "LLVMDebugInfoPDB" "LLVMDebugInfoMSF" "LLVMDebugInfoDWARF" "LLVMARMDesc" "LLVMObject" "LLVMTextAPI" "LLVMMCParser" "LLVMIRReader" "LLVMAsmParser" "LLVMBitReader" "LLVMCore" "LLVMRemarks" "LLVMBitstreamReader" "LLVMMCDisassembler" "LLVMCodeGenTypes" "LLVMARMUtils" "LLVMARMInfo" "LLVMMC" "LLVMDebugInfoCodeView" "LLVMBinaryFormat" "LLVMTargetParser" "LLVMSupport" "LLVMDemangle")

# llvm-config --libs aarch64codegen
set(MONO_llvm_extra_libs_aarch64codegen "LLVMAArch64CodeGen" "LLVMCFGuard" "LLVMGlobalISel" "LLVMSelectionDAG" "LLVMAsmPrinter" "LLVMDebugInfoDWARF" "LLVMCodeGen" "LLVMTarget" "LLVMScalarOpts" "LLVMInstCombine" "LLVMAggressiveInstCombine" "LLVMTransformUtils" "LLVMBitWriter" "LLVMAnalysis" "LLVMProfileData" "LLVMObject" "LLVMTextAPI" "LLVMMCParser" "LLVMBitReader" "LLVMCore" "LLVMRemarks" "LLVMBitstreamReader" "LLVMAArch64Desc" "LLVMMC" "LLVMDebugInfoCodeView" "LLVMDebugInfoMSF" "LLVMBinaryFormat" "LLVMAArch64Utils" "LLVMAArch64Info" "LLVMSupport" "LLVMDemangle")
if(${llvm_api_version} GREATER_EQUAL 1600)
set(MONO_llvm_extra_libs_aarch64codegen ${MONO_llvm_extra_libs_aarch64codegen} "LLVMObjCARCOpts" "LLVMSymbolize" "LLVMDebugInfoPDB" "LLVMIRReader" "LLVMAsmParser" "LLVMTargetParser")
endif()
set(MONO_llvm_extra_libs_aarch64codegen "LLVMAArch64CodeGen" "LLVMGlobalISel" "LLVMSelectionDAG" "LLVMCFGuard" "LLVMAsmPrinter" "LLVMCodeGen" "LLVMTarget" "LLVMScalarOpts" "LLVMInstCombine" "LLVMAggressiveInstCombine" "LLVMObjCARCOpts" "LLVMTransformUtils" "LLVMBitWriter" "LLVMAnalysis" "LLVMProfileData" "LLVMSymbolize" "LLVMDebugInfoBTF" "LLVMDebugInfoPDB" "LLVMDebugInfoMSF" "LLVMDebugInfoDWARF" "LLVMObject" "LLVMTextAPI" "LLVMMCParser" "LLVMIRReader" "LLVMAsmParser" "LLVMBitReader" "LLVMAArch64Desc" "LLVMCodeGenTypes" "LLVMAArch64Utils" "LLVMCore" "LLVMRemarks" "LLVMBitstreamReader" "LLVMAArch64Info" "LLVMMC" "LLVMDebugInfoCodeView" "LLVMBinaryFormat" "LLVMTargetParser" "LLVMSupport" "LLVMDemangle")

if(HOST_LINUX AND NOT HOST_WASM AND NOT HOST_WASI AND ${llvm_api_version} GREATER_EQUAL 1600)
set(MONO_stdlib "-nostdinc++ -nostdlib++")
Expand Down
Loading