Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2229916/?format=api
{ "id": 2229916, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2229916/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/350bf432f1ef1bea0144eee68d38123e76bcb13c.camel@haerdin.se/", "project": { "id": 17, "url": "http://patchwork.ozlabs.org/api/1.1/projects/17/?format=api", "name": "GNU Compiler Collection", "link_name": "gcc", "list_id": "gcc-patches.gcc.gnu.org", "list_email": "gcc-patches@gcc.gnu.org", "web_url": null, "scm_url": null, "webscm_url": null }, "msgid": "<350bf432f1ef1bea0144eee68d38123e76bcb13c.camel@haerdin.se>", "date": "2026-04-28T21:02:20", "name": "gcc/toplev.cc: Output mangled function names with -fstack-usage", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "fa10d6c027f2c982fdbfe012b7458effc353ac19", "submitter": { "id": 93276, "url": "http://patchwork.ozlabs.org/api/1.1/people/93276/?format=api", "name": "Tomas Härdin", "email": "git@haerdin.se" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/350bf432f1ef1bea0144eee68d38123e76bcb13c.camel@haerdin.se/mbox/", "series": [ { "id": 501933, "url": "http://patchwork.ozlabs.org/api/1.1/series/501933/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=501933", "date": "2026-04-28T21:02:20", "name": "gcc/toplev.cc: Output mangled function names with -fstack-usage", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/501933/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2229916/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2229916/checks/", "tags": {}, "headers": { "Return-Path": "<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "gcc-patches@gcc.gnu.org" ], "Delivered-To": [ "patchwork-incoming@legolas.ozlabs.org", "gcc-patches@gcc.gnu.org" ], "Authentication-Results": [ "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)", "sourceware.org;\n dmarc=none (p=none dis=none) header.from=haerdin.se", "sourceware.org; spf=pass smtp.mailfrom=nmugroup.com", "server2.sourceware.org;\n arc=none smtp.remote-ip=193.183.80.6" ], "Received": [ "from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g4tDr5DlRz1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 07:02:52 +1000 (AEST)", "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id D2F974BBC0B5\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 21:02:50 +0000 (GMT)", "from glom.nmugroup.com (glom.nmugroup.com [193.183.80.6])\n by sourceware.org (Postfix) with ESMTPS id E714E4BAD14B\n for <gcc-patches@gcc.gnu.org>; Tue, 28 Apr 2026 21:02:22 +0000 (GMT)", "from localhost (localhost [127.0.0.1])\n by glom.nmugroup.com (Postfix) with ESMTP id 8D7FA542B31C\n for <gcc-patches@gcc.gnu.org>; Tue, 28 Apr 2026 23:02:21 +0200 (CEST)", "from debian.lan (h-79-136-39-105.A258.priv.bahnhof.se\n [79.136.39.105]) (Authenticated sender: git01)\n by glom.nmugroup.com (Postfix) with ESMTPSA id 56A54542B1E1\n for <gcc-patches@gcc.gnu.org>; Tue, 28 Apr 2026 23:02:20 +0200 (CEST)" ], "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 sourceware.org D2F974BBC0B5", "OpenDKIM Filter v2.11.0 sourceware.org E714E4BAD14B" ], "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org E714E4BAD14B", "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org E714E4BAD14B", "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777410143; cv=none;\n b=GQJCR0jhtLaXZXKriShlBIa8uAZ6j38FHi9f5Os8kNzkTTHV/TSPxJQXwmE0zVdgpd7/9qV4NGGjkdLPSnJ544wm4DiNWdxFxMFlAYMMiXMhB5kcdAo+SaN4YHVLA07KZM1CPvGKUDI+2dl0F7UCAxgL5kxOHmNfVUe3/1MnX+M=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1777410143; c=relaxed/simple;\n bh=/heqnKCKYPiDpwuztsnFeXn+Y9VLeJqoKN/Gerfu+B0=;\n h=Message-ID:Subject:From:To:Date:MIME-Version;\n b=EdilORuy/uWqfF9qTK0d54qFs6Vl6lVgWTVTFWUjHxLhsRHeBES0NSm98emLVfWmTxwpJt7eRFbl5waJLZPMYT3kMKIErBi6PfsiY3tTJYviK/8r8XiZCpTsMTHjcQkQW+2306hXefjRCpby0y56BYanPz1P55jf6J4tvbg9YnY=", "ARC-Authentication-Results": "i=1; server2.sourceware.org", "Message-ID": "<350bf432f1ef1bea0144eee68d38123e76bcb13c.camel@haerdin.se>", "Subject": "[PATCH] gcc/toplev.cc: Output mangled function names with\n -fstack-usage", "From": "Tomas =?iso-8859-1?q?H=E4rdin?= <git@haerdin.se>", "To": "gcc-patches@gcc.gnu.org", "Date": "Tue, 28 Apr 2026 23:02:20 +0200", "Content-Type": "multipart/mixed; boundary=\"=-h4slVEGvj6qWHfxEjpac\"", "User-Agent": "Evolution 3.56.2-0+deb13u1 ", "MIME-Version": "1.0", "X-BeenThere": "gcc-patches@gcc.gnu.org", "X-Mailman-Version": "2.1.30", "Precedence": "list", "List-Id": "Gcc-patches mailing list <gcc-patches.gcc.gnu.org>", "List-Unsubscribe": "<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>", "List-Archive": "<https://gcc.gnu.org/pipermail/gcc-patches/>", "List-Post": "<mailto:gcc-patches@gcc.gnu.org>", "List-Help": "<mailto:gcc-patches-request@gcc.gnu.org?subject=help>", "List-Subscribe": "<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>", "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org" }, "content": "Hi\n\nThis is what I've been discussing on IRC. Mangled names make it easier\nto match -fstack-usage up to the symbol names output by avr-objdump and\nsimilar tools. This is especially important on memory constrained\nplatforms like microcontrollers.\n\n/Tomas", "diff": "From 3508668ad5f5bbacdeafbb1db998e20b97500d7a Mon Sep 17 00:00:00 2001\nFrom: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <git@haerdin.se>\nDate: Tue, 28 Apr 2026 22:49:32 +0200\nSubject: [PATCH] gcc/toplev.cc: Output mangled function names with\n -fstack-usage\n\nThis is more useful for automated stack checking tools such as Daniel Beer's avstack.pl\n---\n gcc/toplev.cc | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/gcc/toplev.cc b/gcc/toplev.cc\nindex 682459220a2..66fa927c53d 100644\n--- a/gcc/toplev.cc\n+++ b/gcc/toplev.cc\n@@ -840,7 +840,7 @@ output_stack_usage_1 (FILE *cf)\n if (stack_usage_file)\n {\n print_decl_identifier (stack_usage_file, current_function_decl,\n-\t\t\t PRINT_DECL_ORIGIN | PRINT_DECL_NAME\n+\t\t\t PRINT_DECL_ORIGIN | PRINT_DECL_UNIQUE_NAME\n \t\t\t | PRINT_DECL_REMAP_DEBUG);\n fprintf (stack_usage_file, \"\\t\" HOST_WIDE_INT_PRINT_DEC\"\\t%s\\n\",\n \t stack_usage, stack_usage_kind_str[stack_usage_kind]);\n-- \n2.47.3\n\n", "prefixes": [] }