Hi, We've been having trouble with some strange lldb failures when building lldb with -DLLVM_LINK_LLVM_DYLIB=ON. For example, this command segfaults with -DLLVM_LINK_LLVM_DYLIB=ON but not if we omit that option:
echo "int main(void) { return 0; }" | gcc -x c -g - && \ lldb -b a.out -o 'b main' -o 'r' -o 'expr printf("hello")' Does anyone have a working LLVM_LINK_LLVM_DYLIB=ON build and if so, could you share the cmake flags you are using? These are the flags that I used: -DBUILD_SHARED_LIBS:BOOL=OFF -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON Thanks, Tom _______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev