forked from OSchip/llvm-project
25ce596cd1
This fixes https://bugs.llvm.org/show_bug.cgi?id=40072. GNU addr2line's --functions switch is off by default, has a short alias of -f, and does not take an argument. This patch changes llvm-symbolizer to allow the second and third point (changing the default behaviour may have negative impacts on users). If the option is missing a value, it now treats it as "linkage". This change does cause one previously valid command-line to behave differently. Before --functions <value> was accepted, but now only --functions=<value> is allowed (as well as --functions). The old behaviour will result in the value being treated as a positional argument. The previous testing for --functions=short has been pulled out into a new test that also tests the other accepted values and option formats. Reviewed by: ruiu Differential Revision: https://reviews.llvm.org/D57049 llvm-svn: 351968 |
||
---|---|---|
.. | ||
FileCheck.rst | ||
bugpoint.rst | ||
dsymutil.rst | ||
index.rst | ||
lit.rst | ||
llc.rst | ||
lli.rst | ||
llvm-ar.rst | ||
llvm-as.rst | ||
llvm-bcanalyzer.rst | ||
llvm-build.rst | ||
llvm-config.rst | ||
llvm-cov.rst | ||
llvm-cxxmap.rst | ||
llvm-diff.rst | ||
llvm-dis.rst | ||
llvm-dwarfdump.rst | ||
llvm-exegesis-analysis.png | ||
llvm-exegesis.rst | ||
llvm-extract.rst | ||
llvm-lib.rst | ||
llvm-link.rst | ||
llvm-mca.rst | ||
llvm-nm.rst | ||
llvm-objdump.rst | ||
llvm-pdbutil.rst | ||
llvm-profdata.rst | ||
llvm-readobj.rst | ||
llvm-stress.rst | ||
llvm-symbolizer.rst | ||
opt.rst | ||
tblgen.rst |