[Lldb-commits] [PATCH] D12749: Link liblldb.so with LLVMObjCARCOpts.a

Kamil Rytarowski via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 9 18:41:18 PDT 2015


krytarowski created this revision.
krytarowski added a reviewer: joerg.
krytarowski added a subscriber: lldb-commits.
krytarowski set the repository for this revision to rL LLVM.

Problems reported on NetBSD:


```
llvm[4]: Linking Debug+Asserts executable lldb
/tmp/build-llvm/Debug+Asserts/lib/liblldb.so: undefined reference to `llvm::createObjCARCExpandPass()'
/tmp/build-llvm/Debug+Asserts/lib/liblldb.so: undefined reference to `llvm::createObjCARCOptPass()'
/tmp/build-llvm/Debug+Asserts/lib/liblldb.so: undefined reference to `llvm::createObjCARCAPElimPass()'
/tmp/build-llvm/Debug+Asserts/lib/liblldb.so: undefined reference to `llvm::createObjCARCContractPass()'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
 /tmp/llvm/Makefile.rules:1434: recipe for target '/tmp/build-llvm/Debug+Asserts/bin/lldb' failed
```

Repository:
  rL LLVM

http://reviews.llvm.org/D12749

Files:
  lib/Makefile

Index: lib/Makefile
===================================================================
--- lib/Makefile
+++ lib/Makefile
@@ -94,6 +94,7 @@
 	clangSerialization.a \
 	LLVMMCDisassembler.a \
 	LLVMProfileData.a \
+	LLVMObjCARCOpts.a \
 	lldbPluginPlatformMacOSX.a \
 	lldbPluginPlatformLinux.a \
 	lldbPluginPlatformWindows.a \


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12749.34400.patch
Type: text/x-patch
Size: 327 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150910/cf636d6d/attachment-0001.bin>


More information about the lldb-commits mailing list