[all-commits] [llvm/llvm-project] 62a94b: [M68k] Mark public functions with the LLVM_EXTERNA...

John Paul Adrian Glaubitz via All-commits all-commits at lists.llvm.org
Mon Apr 5 09:25:24 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62a94b725cd201367547b22fdb3b0751cda982d5
      https://github.com/llvm/llvm-project/commit/62a94b725cd201367547b22fdb3b0751cda982d5
  Author: John Paul Adrian Glaubitz <glaubitz at physik.fu-berlin.de>
  Date:   2021-04-05 (Mon, 05 Apr 2021)

  Changed paths:
    M llvm/lib/Target/M68k/M68kAsmPrinter.cpp
    M llvm/lib/Target/M68k/M68kTargetMachine.cpp
    M llvm/lib/Target/M68k/MCTargetDesc/M68kMCTargetDesc.cpp
    M llvm/lib/Target/M68k/TargetInfo/M68kTargetInfo.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list