From patchwork Wed Feb 6 22:32:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cary Coutant X-Patchwork-Id: 218785 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 626012C029A for ; Thu, 7 Feb 2013 09:33:03 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1360794784; h=Comment: DomainKey-Signature:Received:Received:Received:Received: MIME-Version:Received:Date:Message-ID:Subject:From:To: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=Io4rHBZ 5Sbn47V+KyKbo+MTiwlY=; b=pBcixjM0u4wqsv73nN5zzV6irtxr/5hihtTLaY+ cZnBJ4S2AXo8Uno/Gs4HCNv6u08BGDheKyKDHSp/TOOna965bqg+cfwZ88PeEP+M LBU19mkv/oYpml9mKg5QNTAIfgIDiKmmkBvoRtyjun1ZxdOGKJm6bK8Zt6wZu+F0 ot9I= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:X-Google-DKIM-Signature:MIME-Version:X-Received:Received:Date:Message-ID:Subject:From:To:Content-Type:X-Gm-Message-State:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=c4px9x2N+ePAlGs6kYWOZNME+WwTvD3WDe4tM0bBWlig97eDX9anybFPAfp5Ak aPl1CeL1m3IGna6GVHbLQIfapJs6wSLaQKEw4DmdGRVSG71vmfduhrlvqQbB7ef8 jgCOsQ8ndFK9ihcDSW3SVLkrmMQHb3c9KhdVldsBol0hc=; Received: (qmail 30685 invoked by alias); 6 Feb 2013 22:32:41 -0000 Received: (qmail 30664 invoked by uid 22791); 6 Feb 2013 22:32:40 -0000 X-SWARE-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-vb0-f44.google.com (HELO mail-vb0-f44.google.com) (209.85.212.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 06 Feb 2013 22:32:32 +0000 Received: by mail-vb0-f44.google.com with SMTP id fr13so1204125vbb.17 for ; Wed, 06 Feb 2013 14:32:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=eimnlDI4o9ZDNOVrm/bIyqwg9KXSsxFZ6FkCU5Rin0Q=; b=TYx/lRGrhLVyaclhqKQ+0ZApeNjqRkJ5FUvZhQ3+wm02dDNF+3PGDaEiz5JZW2YpPq qqn2tCEeRxa48S+lgSNBdt6aBk+C5E3LkJP+p94jjrbhGvUWpSCxr9fs+dPxUAJiBb6e oQHFMlVL9fc4UiGE3Mv0JTYJzXkNlKyEaD+KBhxt822Hn1W784H3kqXwCwPy54tUarYb 653vlXO8I2JDb1XEf1vvxmxKaYvzXnrknfyGczuPfj9rMYBYPydtkMWe0+WLSA3MdxZl OxU9GNRDrsKC051AwhU0PKVOdatIcaqsDf5CCFH80gz50W4gjAXJyKfV/14HpUSDXhox aewQ== MIME-Version: 1.0 X-Received: by 10.52.69.74 with SMTP id c10mr31068707vdu.3.1360189951691; Wed, 06 Feb 2013 14:32:31 -0800 (PST) Received: by 10.220.226.199 with HTTP; Wed, 6 Feb 2013 14:32:31 -0800 (PST) Date: Wed, 6 Feb 2013 14:32:31 -0800 Message-ID: Subject: [google/integration] Add -gfission and -gmlt options as synonyms From: Cary Coutant To: gcc-patches , Diego Novillo X-Gm-Message-State: ALoCoQnuO6IH4WMP3zZENAERJfr8DHTKqoyxveuYJ5SoaMGSDf2au3/+OC5jjkgFuDaBPavSlxNWDDkU0Z6WM1aCIseTmVRwXNPFn2Q/CIF4NnrOY40EaOi3Mj5Mu+DyvpEWxVKHViykr54nTRMPJuNDNVng31CcWpXJN5nGy+AsJM3AzS2I3Rs166VIb+wdYp+WBzI7WqRJ X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org This patch adds -g[no-]fission as a synonym for -g[no-]split-dwarf, and modifies the existing stub we have for -gmlt to make it a synonym for -g1. The implementation of -gsplit-dwarf is already in trunk (and therefore g/i), and the implementation of -g1 to produce line tables will be submitted for google/main shortly, and for trunk when Stage 1 reopens. Tested with crosstool-validate. OK for google/integration? -cary Index: opts.c =================================================================== --- opts.c (revision 195770) +++ opts.c (working copy) @@ -1720,8 +1720,9 @@ common_handle_option (struct gcc_options break; case OPT_gmlt: - /* [google/integration] - Empty placeholder. Real implementation - in google/main. */ + /* [google/integration] Synonym for -g1. */ + set_debug_level (NO_DEBUG, DEFAULT_GDB_EXTENSIONS, "1", opts, opts_set, + loc); break; case OPT_gvms: Index: common.opt =================================================================== --- common.opt (revision 195770) +++ common.opt (working copy) @@ -2398,6 +2398,12 @@ gsplit-dwarf Common Driver RejectNegative Var(dwarf_split_debug_info,1) Generate debug information in separate .dwo files +gfission +Common Driver Alias(gsplit-dwarf) + +gno-fission +Common Driver Alias(gno-split-dwarf) + gstabs Common JoinedOrMissing Negative(gstabs+) Generate debug information in STABS format