summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-08-09 01:03:14 +0000
committerDevang Patel <dpatel@apple.com>2011-08-09 01:03:14 +0000
commit48d726fbce7a70a2f5d7752c883731efe1e5e1c9 (patch)
tree8b58e3d99e21347c02b44577212421f6ee6a6377 /include
parentc19e6dd64fe4fa825c8d79e1d097e301c66eaf72 (diff)
downloadllvm-48d726fbce7a70a2f5d7752c883731efe1e5e1c9.tar.gz
llvm-48d726fbce7a70a2f5d7752c883731efe1e5e1c9.tar.bz2
llvm-48d726fbce7a70a2f5d7752c883731efe1e5e1c9.tar.xz
Provide method to print variable's extended name which includes inline location.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137095 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/DebugInfo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h
index 88372b2799..2699580ad5 100644
--- a/include/llvm/Analysis/DebugInfo.h
+++ b/include/llvm/Analysis/DebugInfo.h
@@ -615,7 +615,7 @@ namespace llvm {
}
/// getInlinedAt - If this variable is inlined then return inline location.
- MDNode *getInlinedAt();
+ MDNode *getInlinedAt() const;
/// Verify - Verify that a variable descriptor is well formed.
bool Verify() const;
@@ -648,6 +648,8 @@ namespace llvm {
/// print - print variable.
void print(raw_ostream &OS) const;
+ void printExtendedName(raw_ostream &OS) const;
+
/// dump - print variable to dbgs() with a newline.
void dump() const;
};