Hi Ravitheja, Could you show us the diff to your cmake configuration? You may want to take a look at how the LLVM_BUILD_INSTRUMENTED cmake option is implemented to double-check that you've got something reasonable (see: llvm/CMakeLists.txt and cmake/modules/HandleLLVMOptions.cmake).
Also, you may want to double-check that the gcda files are being written to the right directory. best, vedant > On Aug 16, 2016, at 7:58 AM, Ravitheja Addepally via lldb-dev > <lldb-dev@lists.llvm.org> wrote: > > Hello, > I was trying to get Code Coverage for LLDB with GCOV on Linux by > adding the corresponding flags in the CMake files, but I am facing problem > with lldb-server, which does not give seem to generate the gcda files. The > host side does generate the gcov files although. The lldb-server does > generate the gcov files if it is started in Standalone mode but it does not > generate the gcov files if started by LLDB. Has anyone tried this already ? > How can I get Code Coverage for lldb / lldb-server on Linux ? > > > Best Regards, > A Ravi Theja > _______________________________________________ > lldb-dev mailing list > lldb-dev@lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev _______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev