[PATCH] D41464: Expose a TargetMachine::getTargetTransformInfo function
Sanjoy Das via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 20 18:28:21 PST 2017
sanjoy added a comment.
In https://reviews.llvm.org/D41464#961668, @sbc100 wrote:
> Did this change somehow break the `-DBUILD_SHARED_LIBS=ON` build?
Possibly -- I didn't test the shared libs build. I'll revert for now, and try again tomorrow.
> I'm seeing:
>
> clang++ -fPIC -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fcolor-diagnostics -ffunction-sections -fdata-sections -O3 -fuse-ld=gold -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/usr/local/google/home/sbc/dev/wasm/llvm-build/./lib -Wl,-O3 -Wl,--gc-sections -shared -Wl,-soname,libLLVMPasses.so.6 -o lib/libLLVMPasses.so.6.0.0svn lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o lib/libLLVMAnalysis.so.6.0.0svn lib/libLLVMCodeGen.so.6.0.0svn lib/libLLVMCore.so.6.0.0svn lib/libLLVMInstCombine.so.6.0.0svn lib/libLLVMInstrumentation.so.6.0.0svn lib/libLLVMScalarOpts.so.6.0.0svn lib/libLLVMSupport.so.6.0.0svn lib/libLLVMTransformUtils.so.6.0.0svn lib/libLLVMVectorize.so.6.0.0svn lib/libLLVMipo.so.6.0.0svn -Wl,-rpath,"\$ORIGIN/../lib" && :
> lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o:PassBuilder.cpp:function llvm::PassBuilder::registerFunctionAnalyses(llvm::AnalysisManager<llvm::Function>&): error: undefined reference to 'llvm::TargetMachine::getTargetIRAnalysis()'
Repository:
rL LLVM
https://reviews.llvm.org/D41464
More information about the llvm-commits
mailing list