diff options
Diffstat (limited to 'llvm/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp')
| -rw-r--r-- | llvm/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp b/llvm/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp index 0bfa0bd5ec0e..982be2746b47 100644 --- a/llvm/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp +++ b/llvm/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp @@ -8,6 +8,7 @@ #include "TargetInfo/PowerPCTargetInfo.h" #include "llvm/MC/TargetRegistry.h" +#include "llvm/Support/Compiler.h" using namespace llvm; Target &llvm::getThePPC32Target() { @@ -27,7 +28,8 @@ Target &llvm::getThePPC64LETarget() { return ThePPC64LETarget; } -extern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializePowerPCTargetInfo() { +extern "C" LLVM_ABI LLVM_EXTERNAL_VISIBILITY void +LLVMInitializePowerPCTargetInfo() { RegisterTarget<Triple::ppc, /*HasJIT=*/true> W(getThePPC32Target(), "ppc32", "PowerPC 32", "PPC"); |
