HomePhabricator

[PGO][PGSO] Fix -DBUILD_SHARED_LIBS=on builds after D69580/llvmorg-10-init-8797…

Authored by MaskRay on Oct 31 2019, 1:58 PM.

Description

[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.

Details

Committed
MaskRayOct 31 2019, 2:02 PM
Parents
rGcd751bcd5206: [asan] Fix lint failure in asan_interface.h
Branches
Unknown
Tags
Unknown