llvm/llvm-project

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

Open

#51.294 geöffnet am 24. Sept. 2021

Auf GitHub ansehen
 (6 Kommentare) (0 Reaktionen) (1 zugewiesene Person)C++ (10.782 Forks)batch import
bugzillagood first issuetools:llvm-readobj/readelf

Repository-Metriken

Stars
 (26.378 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 1T 2h) (1.000 gemergte PRs in 30 T)

Beschreibung

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