coverage option in clang of freebsd10

2014-08-22 Thread Sinha, Prokash
Hello, I was trying to get the clang/llvm going using coverage option, but it misses some archive lib. echo "int main(void){}" | clang --coverage -v -xc - FreeBSD pgh-octal-12-8 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 r...@snap.freebsd.org:/usr/obj/usr/sr

Build error

2014-08-29 Thread Sinha, Prokash
I was trying to build the latest from the svn trunk - clang/llvm - langAttrEmitter.cpp:994:29: error: 'SimpleArgument' does not refer to a value Ptr = llvm::make_unique(Arg, Attr, "int"); ^ ClangAttrEmitter.cpp:216:9: note: declared here class SimpleArgument : pu

How to enable coverage option in the latest drop of clang/llvm

2014-09-07 Thread Sinha, Prokash
Hi All, Initially I was having problem compiling clang/llvm, then found some of the compilation error. Now I can build it on freebsd 10. But I need to have the coverage option on. On Mac it is still there - bash$ clang --coverage main.c -### Apple LLVM version 5.1 (clang-503.0.40) (based o

Re: How to enable coverage option in the latest drop of clang/llvm

2014-09-08 Thread Sinha, Prokash
Can someone please enlighten me on this… __ The freebsd10 stable does not have the —coverage option working. Whereas mac X with Xcode handles this as per my experiment. __ So I should have some flags or something from the configure options that I can use to have this enabled. If not, then ple

While I see the code coverage being present in 3.6.0, I see compile errors

2014-09-18 Thread Sinha, Prokash
Hi All, I see that coverage and valgrind seemed to be sneaking in to 3.6.0 ( http://www.llvm.org/docs/CoverageMappingFormat.html ), I see there are some compilation error when I update from the svn repo, and try to gmake on freebsd10.0. Note that about a week or so ago, I pulled in using update

Re: While I see the code coverage being present in 3.6.0, I see compile errors

2014-09-19 Thread Sinha, Prokash
I was having build error when I was "svn update" updating, following the instructions in the document for checkout, and in sequence… If I get the source in a new dir, then it builds. But I still concur to find a way to get the lib clangrt.profile*.a This was my configuration , before using gm

elf linking problem

2015-01-15 Thread Sinha, Prokash
Hello, I'm trying to find out what could be the cause of a kldload problem I'm facing. Here is the context detail -- 1. I'm building two ko module. And it has a dependency order, so when I load the first module, it loads, and a function symbol ( F ) is defined into kernel variable space sysctl -