[PATCH] D132525: [ORC][ORC_RT][COFF] Support dynamic VC runtime.

Sunho Kim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 23 20:08:37 PDT 2022


sunho created this revision.
sunho added reviewers: lhames, sgraenitz.
Herald added subscribers: Enna1, StephenFan, hiraditya, mgorny.
Herald added a project: All.
sunho requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Supports dynamic VC runtime. It implements atexits handling which is required to load msvcrt.lib successfully. (the object file containing atexit symbol somehow resolves to static vc runtim symbols) It also default to dynamic vc runtime which tends to be more robust.


https://reviews.llvm.org/D132525

Files:
  compiler-rt/lib/orc/CMakeLists.txt
  compiler-rt/lib/orc/coff_platform.cpp
  compiler-rt/lib/orc/coff_platform.per_jd.cpp
  llvm/include/llvm/ExecutionEngine/Orc/COFFPlatform.h
  llvm/lib/ExecutionEngine/Orc/COFFPlatform.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132525.455055.patch
Type: text/x-patch
Size: 16466 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220824/66c9f867/attachment.bin>


More information about the llvm-commits mailing list