mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-14 17:36:29 +00:00

I fixed all the other Targets in r283702, and interestingly the sanitizers are only now "sometimes" catching this bug on the only one I missed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283914 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
675 B
C++
23 lines
675 B
C++
//===-- XCoreTargetInfo.cpp - XCore Target Implementation -----------------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "XCore.h"
|
|
#include "llvm/IR/Module.h"
|
|
#include "llvm/Support/TargetRegistry.h"
|
|
using namespace llvm;
|
|
|
|
Target &llvm::getTheXCoreTarget() {
|
|
static Target TheXCoreTarget;
|
|
return TheXCoreTarget;
|
|
}
|
|
|
|
extern "C" void LLVMInitializeXCoreTargetInfo() {
|
|
RegisterTarget<Triple::xcore> X(getTheXCoreTarget(), "xcore", "XCore");
|
|
}
|