From cd01472a9ba70cc946511ccf483c49ee3f691a94 Mon Sep 17 00:00:00 2001 From: Alexey Samsonov Date: Sat, 17 May 2014 00:07:48 +0000 Subject: [DWARF parser] Teach DIContext to fetch short (non-linkage) function names for a given address. Change --functions option in llvm-symbolizer tool to accept values "none", "short" or "linkage". Update the tests and docs accordingly. llvm-svn: 209050 --- llvm/docs/CommandGuide/llvm-symbolizer.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'llvm/docs/CommandGuide') diff --git a/llvm/docs/CommandGuide/llvm-symbolizer.rst b/llvm/docs/CommandGuide/llvm-symbolizer.rst index dfbdb3ac434..ce2d9c00435 100644 --- a/llvm/docs/CommandGuide/llvm-symbolizer.rst +++ b/llvm/docs/CommandGuide/llvm-symbolizer.rst @@ -61,11 +61,14 @@ OPTIONS ------- .. option:: -obj + Path to object file to be symbolized. -.. option:: -functions +.. option:: -functions=[none|short|linkage] - Print function names as well as source file/line locations. Defaults to true. + Specify the way function names are printed (omit function name, + print short function name, or print full linkage name, respectively). + Defaults to ``linkage``. .. option:: -use-symbol-table -- cgit v1.2.3