[M68k] Mark public functions with the LLVM_EXTERNAL_VISIBILITY macro
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Mon, 5 Apr 2021 16:22:59 +0000 (09:22 -0700)
committerMin-Yih Hsu <minyihh@uci.edu>
Mon, 5 Apr 2021 16:24:30 +0000 (09:24 -0700)
commit62a94b725cd201367547b22fdb3b0751cda982d5
tree22c10c0a95788d9e58796e6bcb38222e1d8a6f22
parent3f0df4d7b0269623cfcd0ef6272e6a3a2ad9066d
[M68k] Mark public functions with the LLVM_EXTERNAL_VISIBILITY macro

In 0dbcb3639451, most most target symbols were made hidden by default
with the public ones marked with LLVM_EXTERNAL_VISIBILITY. When the
M68k target was added, this particular change was forgotten so that
external tools cannot make use of the public M68k target functions
in libLLVM.so. Thus, add the missing LLVM_EXTERNAL_VISIBILITY macro
to all public target functions in the M68k backend.

Differential Revision: https://reviews.llvm.org/D99869
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