Please use this with a grain of salt: linking non-native object formats can cause arbitrary ABI incompatibilities.
#include <llvm/ADT/FunctionExtras.h>
#include <llvm/ExecutionEngine/Orc/TargetProcessControl.h>
class MachoOnLinuxSearchGenerator : public llvm::orc::DefinitionGenerator {
public:
/// Create a DynamicLibrarySearchGenerator that searches for symbols in the
/// library with the given handle. It drops one leading underscore where it