[PATCH] D99869: [M68k] Mark public functions with the LLVM_EXTERNAL_VISIBILITY macro
Min-Yih Hsu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 5 09:25:22 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG62a94b725cd2: [M68k] Mark public functions with the LLVM_EXTERNAL_VISIBILITY macro (authored by glaubitz, committed by myhsu).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99869/new/
https://reviews.llvm.org/D99869
Files:
llvm/lib/Target/M68k/M68kAsmPrinter.cpp
llvm/lib/Target/M68k/M68kTargetMachine.cpp
llvm/lib/Target/M68k/MCTargetDesc/M68kMCTargetDesc.cpp
llvm/lib/Target/M68k/TargetInfo/M68kTargetInfo.cpp
Index: llvm/lib/Target/M68k/TargetInfo/M68kTargetInfo.cpp
===================================================================
--- llvm/lib/Target/M68k/TargetInfo/M68kTargetInfo.cpp
+++ llvm/lib/Target/M68k/TargetInfo/M68kTargetInfo.cpp
@@ -21,7 +21,7 @@
}
} // namespace llvm
-extern "C" void LLVMInitializeM68kTargetInfo() {
+extern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializeM68kTargetInfo() {
RegisterTarget<Triple::m68k, /*HasJIT=*/true> X(
getTheM68kTarget(), "m68k", "Motorola 68000 family", "M68k");
}
Index: llvm/lib/Target/M68k/MCTargetDesc/M68kMCTargetDesc.cpp
===================================================================
--- llvm/lib/Target/M68k/MCTargetDesc/M68kMCTargetDesc.cpp
+++ llvm/lib/Target/M68k/MCTargetDesc/M68kMCTargetDesc.cpp
@@ -106,7 +106,7 @@
return new M68kInstPrinter(MAI, MII, MRI);
}
-extern "C" void LLVMInitializeM68kTargetMC() {
+extern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializeM68kTargetMC() {
Target &T = getTheM68kTarget();
// Register the MC asm info.
Index: llvm/lib/Target/M68k/M68kTargetMachine.cpp
===================================================================
--- llvm/lib/Target/M68k/M68kTargetMachine.cpp
+++ llvm/lib/Target/M68k/M68kTargetMachine.cpp
@@ -28,7 +28,7 @@
#define DEBUG_TYPE "m68k"
-extern "C" void LLVMInitializeM68kTarget() {
+extern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializeM68kTarget() {
RegisterTargetMachine<M68kTargetMachine> X(getTheM68kTarget());
}
Index: llvm/lib/Target/M68k/M68kAsmPrinter.cpp
===================================================================
--- llvm/lib/Target/M68k/M68kAsmPrinter.cpp
+++ llvm/lib/Target/M68k/M68kAsmPrinter.cpp
@@ -65,6 +65,6 @@
void M68kAsmPrinter::emitEndOfAsmFile(Module &M) {}
-extern "C" void LLVMInitializeM68kAsmPrinter() {
+extern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializeM68kAsmPrinter() {
RegisterAsmPrinter<M68kAsmPrinter> X(getTheM68kTarget());
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99869.335277.patch
Type: text/x-patch
Size: 1955 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210405/7c57bbe1/attachment.bin>
More information about the llvm-commits
mailing list