[all-commits] [llvm/llvm-project] 21605a: [mlir] Mark ClassID::getID as LLVM_EXTERNAL_VISIBI...

River Riddle via All-commits all-commits at lists.llvm.org
Wed Apr 8 16:54:29 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 21605a1207743c9256c147086afa05c5c3636b26
      https://github.com/llvm/llvm-project/commit/21605a1207743c9256c147086afa05c5c3636b26
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-04-08 (Wed, 08 Apr 2020)

  Changed paths:
    M mlir/include/mlir/Support/STLExtras.h

  Log Message:
  -----------
  [mlir] Mark ClassID::getID as LLVM_EXTERNAL_VISIBILITY to ensure only one version exists

Summary: ClassID is used as a type id and must be unique in the face of shared libraries to ensure correctness. This fixes failures related to BUILD_SHARED_LIBs on macos.

Differential Revision: https://reviews.llvm.org/D77764




More information about the All-commits mailing list