git: vendor/GCC120 vendor/GCC120: Backport one lto-dump fix

Aaron LI aly at crater.dragonflybsd.org
Mon Nov 16 04:37:29 PST 2026


commit 230c7031b3bdd67471bfea9757845fe24af3ab9b
Author: Aaron LI <aly at aaronly.me>
Date:   Mon Nov 16 20:34:36 2026 +0800

    vendor/GCC120: Backport one lto-dump fix
    
    lto-dump: Do not print output file
    
    Right now the following is printed:
    
    lto-dump
    	.file	"<artificial>"
    	.ident	"GCC: (GNU) 13.0.0 20220707 (experimental)"
    	.section	.note.GNU-stack,"", at progbits
    
    After the patch we print -help and do not emit any assembly output:
    
    lto-dump
    Usage: lto-dump [OPTION]... SUB_COMMAND [OPTION]...
    
    LTO dump tool command line options.
    
      -list [options]           Dump the symbol list.
        -demangle               Dump the demangled output.
        -defined-only           Dump only the defined symbols.
    ...
    
    Obtained-from: https://gcc.gnu.org/cgit/gcc/commit/?id=95a234f5cbd5

Summary of changes:
 contrib/gcc-12/gcc/lto/lto-dump.cc | 16 ++++++++++------
 contrib/gcc-12/gcc/toplev.cc       |  2 +-
 2 files changed, 11 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/230c7031b3bdd67471bfea9757845fe24af3ab9b


-- 
DragonFly BSD source repository


More information about the Commits mailing list