Open
Description
When linking against LLVM statically, the llvm-config
tool with --link-static
does not specify the ntdll.lib
import library despite LLVMSupport
requiring ntdll
since Support/ErrorHandling.cpp
depends on RtlGetLastNtStatus
. Attempting to link anything with it will be met with the following error
error: undefined symbol: __declspec(dllimport) RtlGetLastNtStatus
>>> referenced by LLVMSupport.lib(ErrorHandling.cpp.obj)