add_llvm_example(LLJITDumpObjects
LLJITDumpObjects.cpp
)
+
+export_executable_symbols(LLJITDumpObjects)
add_llvm_example(LLJITRemovableCode
LLJITRemovableCode.cpp
)
+
+export_executable_symbols(LLJITRemovableCode)
add_llvm_example(LLJITWithCustomObjectLinkingLayer
LLJITWithCustomObjectLinkingLayer.cpp
)
+
+export_executable_symbols(LLJITWithCustomObjectLinkingLayer)
add_llvm_example(LLJITWithInitializers
LLJITWithInitializers.cpp
)
+
+export_executable_symbols(LLJITWithInitializers)
add_llvm_example(LLJITWithLazyReexports
LLJITWithLazyReexports.cpp
)
+
+export_executable_symbols(LLJITWithLazyReexports)
add_llvm_example(LLJITWithObjectCache
LLJITWithObjectCache.cpp
)
+
+export_executable_symbols(LLJITWithObjectCache)
add_llvm_example(LLJITWithObjectLinkingLayerPlugin
LLJITWithObjectLinkingLayerPlugin.cpp
)
+
+export_executable_symbols(LLJITWithObjectLinkingLayerPlugin)
add_llvm_example(LLJITWithOptimizingIRTransform
LLJITWithOptimizingIRTransform.cpp
)
+
+export_executable_symbols(LLJITWithOptimizingIRTransform)
DEPENDS
llvm-jitlink-executor
)
+
+ export_executable_symbols(LLJITWithRemoteDebugging)
endif()
add_llvm_example(LLJITWithThinLTOSummaries
LLJITWithThinLTOSummaries.cpp
)
+
+export_executable_symbols(LLJITWithThinLTOSummaries)
add_llvm_example(OrcV2CBindingsAddObjectFile
OrcV2CBindingsAddObjectFile.c
)
+
+export_executable_symbols(OrcV2CBindingsAddObjectFile)
add_llvm_example(OrcV2CBindingsBasicUsage
OrcV2CBindingsBasicUsage.c
)
+
+export_executable_symbols(OrcV2CBindingsBasicUsage)
add_llvm_example(OrcV2CBindingsDumpObjects
OrcV2CBindingsDumpObjects.c
)
+
+export_executable_symbols(OrcV2CBindingsDumpObjects)
add_llvm_example(OrcV2CBindingsIRTransforms
OrcV2CBindingsIRTransforms.c
)
+
+export_executable_symbols(OrcV2CBindingsIRTransforms)
add_llvm_example(OrcV2CBindingsLazy
OrcV2CBindingsLazy.c
)
+
+export_executable_symbols(OrcV2CBindingsLazy)
add_llvm_example(OrcV2CBindingsRemovableCode
OrcV2CBindingsRemovableCode.c
)
+
+export_executable_symbols(OrcV2CBindingsRemovableCode)
add_llvm_example(OrcV2CBindingsVeryLazy
OrcV2CBindingsVeryLazy.c
)
+
+export_executable_symbols(OrcV2CBindingsVeryLazy)
UseJITLink = !TT.isOSBinFormatCOFF();
break;
case Triple::x86_64:
- UseJITLink = TT.isOSBinFormatMachO();
+ UseJITLink = !TT.isOSBinFormatCOFF();
break;
default:
break;