You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The LLVM-generated code uses a library (lib/Abaci.cpp) to provide functionality, such as I/O, complex number calculations and type conversions. This library can throw exceptions, which are not appearing to be successfully caught by the driver under the Windows build. Things I have tried to make a working Windows build:
Compile project, fmt and LLVM libraries with -DCMAKE_BUILD_TYPE=Release
Compile project with flags /EHsc
Remove extern "C" { from lib/Abaci.cpp
Compile LLVM with -D-DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON which appears to set some sub-projects to use /EHsc
Attempt to remove nounwind attribute from generated functions: current_function->addFnAttr(Attribute::UWTable);
I'm guessing that all of these steps, plus other(s), are necessary, however I lack detailed knowledge of LLVM and the Windows build system. Any assistance to correct this issue would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
The LLVM-generated code uses a library (
lib/Abaci.cpp
) to provide functionality, such as I/O, complex number calculations and type conversions. This library can throw exceptions, which are not appearing to be successfully caught by the driver under the Windows build. Things I have tried to make a working Windows build:-DCMAKE_BUILD_TYPE=Release
/EHsc
extern "C" {
fromlib/Abaci.cpp
-D-DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON
which appears to set some sub-projects to use/EHsc
nounwind
attribute from generated functions:current_function->addFnAttr(Attribute::UWTable);
engine/JIT.cpp
:I'm guessing that all of these steps, plus other(s), are necessary, however I lack detailed knowledge of LLVM and the Windows build system. Any assistance to correct this issue would be greatly appreciated.
The text was updated successfully, but these errors were encountered: