[all-commits] [llvm/llvm-project] 44d0c3: [PGO][PGSO] Fix -DBUILD_SHARED_LIBS=on builds afte...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Oct 31 14:02:36 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 44d0c3d94775be2ec1947426a8483cd135d51625
      https://github.com/llvm/llvm-project/commit/44d0c3d94775be2ec1947426a8483cd135d51625
  Author: Fangrui Song <maskray at google.com>
  Date:   2019-10-31 (Thu, 31 Oct 2019)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/TargetLoweringBase.cpp

  Log Message:
  -----------
  [PGO][PGSO] Fix -DBUILD_SHARED_LIBS=on builds after D69580/llvmorg-10-init-8797-g0d987e411ac

Move TargetLoweringBase::isSuitableForJumpTable from
llvm/CodeGen/TargetLowering.h to .cpp, to avoid the undefined reference
from all LLVM${Target}ISelLowering.cpp.

Another fix is to add a dependency on TransformUtils to all
lib/Target/$Target/LLVMBuild.txt, but that is too disruptive.




More information about the All-commits mailing list