From owner-freebsd-toolchain@FreeBSD.ORG Thu Sep 18 17:42:27 2014 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AC344AE5 for ; Thu, 18 Sep 2014 17:42:27 +0000 (UTC) Received: from natasha.panasas.com (natasha.panasas.com [209.166.131.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7F67AB6E for ; Thu, 18 Sep 2014 17:42:26 +0000 (UTC) Received: from seabiscuit.panasas.com (seabiscuit.panasas.com [172.17.132.204]) by natasha.panasas.com (8.14.4/8.14.4) with ESMTP id s8IHgO6Y018310 for ; Thu, 18 Sep 2014 13:42:25 -0400 Received: from SEABISCUIT.int.panasas.com ([172.17.132.204]) by seabiscuit ([172.17.132.204]) with mapi id 14.03.0210.002; Thu, 18 Sep 2014 10:42:24 -0700 From: "Sinha, Prokash" To: "freebsd-toolchain@freebsd.org" Subject: While I see the code coverage being present in 3.6.0, I see compile errors Thread-Topic: While I see the code coverage being present in 3.6.0, I see compile errors Thread-Index: AQHP02fndxd9CeK6PkaB2Mo+yrtY8Q== Date: Thu, 18 Sep 2014 17:42:24 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.17.28.63] Content-Type: text/plain; charset="Windows-1252" Content-ID: <71CEA15D2488004CA382D49C882AF3F5@panasas.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2014 17:42:27 -0000 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 compi= lation 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 =96 but those features were missing =85 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/D= ataLayout.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/D= ataLayout.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/D= ataLayout.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/D= ataLayout.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/D= ataLayout.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/D= ataLayout.h:466:3: note: candidate constructor not viable: requires 0 arguments, but 1 was provided DataLayoutPass();