[Lldb-commits] [PATCH] D57999: [lldb] [lldb-instr] Add missing linkage to ClangLex

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sat Feb 9 05:59:57 PST 2019


mgorny created this revision.
mgorny added reviewers: JDevlieghere, labath.
mgorny added a project: LLDB.
Herald added subscribers: teemperor, abidh.

Fixes the following build error:

  /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: tools/lldb-instr/CMakeFiles/lldb-instr.dir/Instrument.cpp.o: undefined reference to symbol '_ZN5clang5Lexer19getLocForEndOfTokenENS_14SourceLocationEjRKNS_13SourceManagerERKNS_11LangOptionsE'
  /usr/lib/llvm/9/lib64/../lib64/libclangLex.so.9svn: error adding symbols: DSO missing from command line
  collect2: error: ld returned 1 exit status


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D57999

Files:
  lldb/tools/lldb-instr/CMakeLists.txt


Index: lldb/tools/lldb-instr/CMakeLists.txt
===================================================================
--- lldb/tools/lldb-instr/CMakeLists.txt
+++ lldb/tools/lldb-instr/CMakeLists.txt
@@ -5,6 +5,7 @@
     clangAST
     clangBasic
     clangFrontend
+    clangLex
     clangTooling
 
   LINK_COMPONENTS


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57999.186110.patch
Type: text/x-patch
Size: 312 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190209/de0b7ee5/attachment.bin>


More information about the lldb-commits mailing list