[PATCH] D78450: CMake: Missing GlobalISel TableGen link

Julien Schueller via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 19 00:30:24 PDT 2020


jschueller created this revision.
jschueller added a reviewer: dsanders.
Herald added subscribers: llvm-commits, mstorsjo, rovka, mgorny.
Herald added a project: LLVM.

Sources from GlobalISel use symbols from TableGen:

1. libLLVMTableGenGlobalISel.a(GIMatchTree.cpp.obj):GIMatchTree.cpp:(.text+0x8623): undefined reference to `llvm::PrintError(llvm::Twine const&)'

This fixes linking of llvm-tblgen on MinGW


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78450

Files:
  llvm/utils/TableGen/GlobalISel/CMakeLists.txt


Index: llvm/utils/TableGen/GlobalISel/CMakeLists.txt
===================================================================
--- llvm/utils/TableGen/GlobalISel/CMakeLists.txt
+++ llvm/utils/TableGen/GlobalISel/CMakeLists.txt
@@ -1,5 +1,5 @@
 set(LLVM_LINK_COMPONENTS
-  Support
+  TableGen
   )
 
 llvm_add_library(LLVMTableGenGlobalISel STATIC DISABLE_LLVM_LINK_LLVM_DYLIB


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78450.258587.patch
Type: text/x-patch
Size: 370 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200419/af608acf/attachment.bin>


More information about the llvm-commits mailing list