From owner-svn-src-projects@freebsd.org Wed Aug 17 06:58:44 2016 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3536EBBDD44 for ; Wed, 17 Aug 2016 06:58:44 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (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 082B01AFC; Wed, 17 Aug 2016 06:58:43 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7H6whuZ096231; Wed, 17 Aug 2016 06:58:43 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7H6whwp096230; Wed, 17 Aug 2016 06:58:43 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201608170658.u7H6whwp096230@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Wed, 17 Aug 2016 06:58:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r304259 - projects/clang390-import/contrib/llvm/tools/clang/lib/Driver X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2016 06:58:44 -0000 Author: dim Date: Wed Aug 17 06:58:43 2016 New Revision: 304259 URL: https://svnweb.freebsd.org/changeset/base/304259 Log: Remove one obsolete piece of code, that I originally imported from upstream clang r266775, but got moved around later in upstream r266797. Modified: projects/clang390-import/contrib/llvm/tools/clang/lib/Driver/Tools.cpp Modified: projects/clang390-import/contrib/llvm/tools/clang/lib/Driver/Tools.cpp ============================================================================== --- projects/clang390-import/contrib/llvm/tools/clang/lib/Driver/Tools.cpp Wed Aug 17 06:43:55 2016 (r304258) +++ projects/clang390-import/contrib/llvm/tools/clang/lib/Driver/Tools.cpp Wed Aug 17 06:58:43 2016 (r304259) @@ -6616,12 +6616,6 @@ void ClangAs::ConstructJob(Compilation & // FIXME: Stop lying and consume only the appropriate driver flags Args.ClaimAllArgs(options::OPT_W_Group); - // Assemblers that want to know the dwarf version can't assume a value, - // since the defaulting logic resides in the driver. Put in something - // reasonable now, in case a subsequent "-Wa,-g" changes it. - RenderDebugEnablingArgs(Args, CmdArgs, CodeGenOptions::NoDebugInfo, - getToolChain().GetDefaultDwarfVersion(), - llvm::DebuggerKind::Default); CollectArgsForIntegratedAssembler(C, Args, CmdArgs, getToolChain().getDriver());