llvm/llvm-project

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

Open

#51.294 aperta il 24 set 2021

Vedi su GitHub
 (6 commenti) (0 reazioni) (1 assegnatario)C++ (10.782 fork)batch import
bugzillagood first issuetools:llvm-readobj/readelf

Metriche repository

Star
 (26.378 star)
Metriche merge PR
 (Merge medio 1g 2h) (1000 PR mergiate in 30 g)

Descrizione

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().

Guida contributor