While I see the code coverage being present in 3.6.0, I see compile errors
Sinha, Prokash
psinha at panasas.com
Thu Sep 18 17:42:27 UTC 2014
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 and did not see compile error – but those features were missing …
Thanks much !
-prokash
BackendUtil.cpp:65:30: error: no matching constructor for initialization of 'llvm::DataLayoutPass'
CodeGenPasses->add(new DataLayoutPass(TheModule));
^ ~~~~~~~~~
/.automount/nfs.panwest.panasas.com/root/home/psinha/llvm/include/llvm/IR/DataLayout.h:461:7: note: candidate constructor
(the implicit copy constructor) not viable: no known conversion from 'llvm::Module *const' to
'const llvm::DataLayoutPass' for 1st argument
class DataLayoutPass : public ImmutablePass {
^
/.automount/nfs.panwest.panasas.com/root/home/psinha/llvm/include/llvm/IR/DataLayout.h:466:3: note: candidate constructor not
viable: requires 0 arguments, but 1 was provided
DataLayoutPass();
^
BackendUtil.cpp:75:32: error: no matching constructor for initialization of 'llvm::DataLayoutPass'
PerModulePasses->add(new DataLayoutPass(TheModule));
^ ~~~~~~~~~
/.automount/nfs.panwest.panasas.com/root/home/psinha/llvm/include/llvm/IR/DataLayout.h:461:7: note: candidate constructor
(the implicit copy constructor) not viable: no known conversion from 'llvm::Module *const' to
'const llvm::DataLayoutPass' for 1st argument
class DataLayoutPass : public ImmutablePass {
^
/.automount/nfs.panwest.panasas.com/root/home/psinha/llvm/include/llvm/IR/DataLayout.h:466:3: note: candidate constructor not
viable: requires 0 arguments, but 1 was provided
DataLayoutPass();
^
BackendUtil.cpp:85:34: error: no matching constructor for initialization of 'llvm::DataLayoutPass'
PerFunctionPasses->add(new DataLayoutPass(TheModule));
^ ~~~~~~~~~
/.automount/nfs.panwest.panasas.com/root/home/psinha/llvm/include/llvm/IR/DataLayout.h:461:7: note: candidate constructor
(the implicit copy constructor) not viable: no known conversion from 'llvm::Module *const' to
'const llvm::DataLayoutPass' for 1st argument
class DataLayoutPass : public ImmutablePass {
^
/.automount/nfs.panwest.panasas.com/root/home/psinha/llvm/include/llvm/IR/DataLayout.h:466:3: note: candidate constructor not
viable: requires 0 arguments, but 1 was provided
DataLayoutPass();
More information about the freebsd-toolchain
mailing list