1 //===--------- OrcTestCommon.cpp - Utilities for Orc Unit Tests -----------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // Common utilities for Orc unit tests.
12 //===----------------------------------------------------------------------===//
14 #include "OrcTestCommon.h"
18 bool OrcExecutionTest::NativeTargetInitialized = false;
20 ModuleBuilder::ModuleBuilder(LLVMContext &Context, StringRef Triple,
22 : M(new Module(Name, Context)),
24 M->setTargetTriple(Triple);