llvm/llvm-project

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

Open

#51,294 opened on Sep 24, 2021

View on GitHub
 (6 comments) (0 reactions) (1 assignee)C++ (10,782 forks)batch import
bugzillagood first issuetools:llvm-readobj/readelf

Repository metrics

Stars
 (26,378 stars)
PR merge metrics
 (Avg merge 1d 2h) (1,000 merged PRs in 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().

Contributor guide