diff --git a/lib/Target/AArch64/AArch64TargetMachine.cpp b/lib/Target/AArch64/AArch64TargetMachine.cpp index 60bd3b9665a..85ff38d1e27 100644 --- a/lib/Target/AArch64/AArch64TargetMachine.cpp +++ b/lib/Target/AArch64/AArch64TargetMachine.cpp @@ -22,6 +22,7 @@ using namespace llvm; + extern "C" void LLVMInitializeAArch64Target() { RegisterTargetMachine X(TheAArch64Target); }