diff options
author | Devang Patel <dpatel@apple.com> | 2011-08-09 01:03:14 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-08-09 01:03:14 +0000 |
commit | 48d726fbce7a70a2f5d7752c883731efe1e5e1c9 (patch) | |
tree | 8b58e3d99e21347c02b44577212421f6ee6a6377 /include | |
parent | c19e6dd64fe4fa825c8d79e1d097e301c66eaf72 (diff) | |
download | external_llvm-48d726fbce7a70a2f5d7752c883731efe1e5e1c9.zip external_llvm-48d726fbce7a70a2f5d7752c883731efe1e5e1c9.tar.gz external_llvm-48d726fbce7a70a2f5d7752c883731efe1e5e1c9.tar.bz2 |
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.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h index 88372b2..2699580 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; }; |