summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2014-05-17 00:07:48 +0000
committerAlexey Samsonov <samsonov@google.com>2014-05-17 00:07:48 +0000
commitbf6e3f925757fcdb57b4a0ba5a71ceedf95f32e4 (patch)
tree766b472982f1c517f2b44e63609987a0163b3fc6 /include
parent2d1fa5f718bc53d9b3867371f0941889f02bea3a (diff)
downloadllvm-bf6e3f925757fcdb57b4a0ba5a71ceedf95f32e4.tar.gz
llvm-bf6e3f925757fcdb57b4a0ba5a71ceedf95f32e4.tar.bz2
llvm-bf6e3f925757fcdb57b4a0ba5a71ceedf95f32e4.tar.xz
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209050 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/DebugInfo/DIContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/DebugInfo/DIContext.h b/include/llvm/DebugInfo/DIContext.h
index 3f3e3792d5..c1aba01fbf 100644
--- a/include/llvm/DebugInfo/DIContext.h
+++ b/include/llvm/DebugInfo/DIContext.h
@@ -70,7 +70,7 @@ class DIInliningInfo {
/// should be filled with data.
struct DILineInfoSpecifier {
enum class FileLineInfoKind { None, Default, AbsoluteFilePath };
- enum class FunctionNameKind { None, LinkageName };
+ enum class FunctionNameKind { None, ShortName, LinkageName };
FileLineInfoKind FLIKind;
FunctionNameKind FNKind;