[all-commits] [llvm/llvm-project] c29555: [MCA] Anchoring the vtable of CustomBehaviour

Min-Yih Hsu via All-commits all-commits at lists.llvm.org
Wed Jun 16 12:45:35 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c29555342ce18cd4769228db650dbcd817a6e474
      https://github.com/llvm/llvm-project/commit/c29555342ce18cd4769228db650dbcd817a6e474
  Author: Min-Yih Hsu <minyihh at uci.edu>
  Date:   2021-06-16 (Wed, 16 Jun 2021)

  Changed paths:
    M llvm/include/llvm/MCA/CustomBehaviour.h
    M llvm/lib/MCA/CustomBehaviour.cpp
    M llvm/tools/llvm-mca/lib/AMDGPU/CMakeLists.txt

  Log Message:
  -----------
  [MCA] Anchoring the vtable of CustomBehaviour

Put the dtor of mca::CustomBehaviour into the cpp file to avoid
undefined vtable when linking libLLVMMCACustomBehaviourAMDGPU as shared
library.

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




More information about the All-commits mailing list