llvm-project/compiler-rt/cmake/Modules
Sunho Kim 9189a26664 [ORC_RT][COFF] Initial platform support for COFF/x86_64.
Initial platform support for COFF/x86_64.

Completed features:
* Statically linked orc runtime.
* Full linking/initialization of static/dynamic vc runtimes and microsoft stl libraries.
* SEH exception handling.
* Full static initializers support
* dlfns
* JIT side symbol lookup/dispatch

Things to note:
* It uses vc runtime libraries found in vc toolchain installations.
* Bootstrapping state is separated because when statically linking orc runtime it needs microsoft stl functions to initialize the orc runtime, but static initializers need to be ran in order to fully initialize stl libraries.
* Process symbols can't be used blidnly on msvc platform; otherwise duplicate definition error gets generated. If process symbols are used, it's destined to get out-of-reach error at some point.
* Atexit currently not handled -- will be handled in the follow-up patches.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D130479
2022-08-13 13:48:40 +09:00
..
AddCompilerRT.cmake [libc++] Re-apply "Always build c++experimental.a"" 2022-07-19 10:44:19 -04:00
AllSupportedArchDefs.cmake [ORC_RT][COFF] Initial platform support for COFF/x86_64. 2022-08-13 13:48:40 +09:00
BuiltinTests.cmake [compiler-rt][builtins] Fix CMake builtin target flag 2022-02-23 10:23:17 +01:00
CheckSectionExists.cmake Add some prototypes to these checks; NFC 2022-04-09 08:38:29 -04:00
CompilerRTAIXUtils.cmake [AIX][compiler-rt] Fix missing dependency of parent target 2022-07-11 10:49:39 +08:00
CompilerRTCompile.cmake [CMake] Use explicit header path when using in-tree libc++ for tests 2022-07-09 06:14:29 +00:00
CompilerRTDarwinUtils.cmake Revert "Reland "[compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available"" 2022-08-09 21:45:21 -07:00
CompilerRTLink.cmake
CompilerRTMockLLVMCMakeConfig.cmake [CMake] Rename TARGET_TRIPLE to LLVM_TARGET_TRIPLE 2022-03-11 15:43:01 -08:00
CompilerRTUtils.cmake [CMake][compiler-rt] Use COMPILE_OPTIONS and LINK_OPTIONS 2022-06-24 06:55:10 +00:00
SanitizerUtils.cmake [sanitizer] Remove cpplint 2021-07-30 15:21:04 -07:00
UseLibtool.cmake [compiler-rt] Disable ranlib when using libtool 2020-08-24 13:48:28 -07:00