llvm/llvm-project

Improve the messages output by unsupported options when using --elf-output-style=GNU

Open

#51.294 aberto em 24 de set. de 2021

Ver no GitHub
 (6 comments) (0 reactions) (1 assignee)C++ (10.782 forks)batch import
bugzillagood first issuetools:llvm-readobj/readelf

Métricas do repositório

Stars
 (26.378 stars)
Métricas de merge de PR
 (Mesclagem média 1d 2h) (1.000 fundiu PRs em 30d)

Description

Bugzilla Link 51952
Version trunk
OS Windows NT
CC @jh7370

Extended Description

A number of options supported by --elf-output-style=LLVM are not implemented for GNU output style, a message is output in these cases which is not too useful for the user. For example use of --elf-linker-options prints:

"printELFLinkerOptions not implemented!"

This is the name of the function. A description of the command line option or missing functionality would be clearer.

Other examples are seen in printCGProfile() and printBBAddrMaps().

Guia do colaborador