Date: Thu, 18 Sep 2014 17:42:24 +0000 From: "Sinha, Prokash" <psinha@panasas.com> To: "freebsd-toolchain@freebsd.org" <freebsd-toolchain@freebsd.org> Subject: While I see the code coverage being present in 3.6.0, I see compile errors Message-ID: <D040678D.1F0F%psinha@panasas.com>
next in thread | raw e-mail | index | archive | help
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();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D040678D.1F0F%psinha>
