summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-10-29 17:07:16 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-10-29 17:07:16 +0000
commitffc7dca885151ed42642c2d6733e8db75d276621 (patch)
treedd83fecaede97dda4a24d8346eeea8fe2d04fc19 /include
parenta72ec5517f95616ac133d266b29f1840ce922492 (diff)
downloadllvm-ffc7dca885151ed42642c2d6733e8db75d276621.tar.gz
llvm-ffc7dca885151ed42642c2d6733e8db75d276621.tar.bz2
llvm-ffc7dca885151ed42642c2d6733e8db75d276621.tar.xz
Add a helper getSymbol to AsmPrinter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193627 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index 3dfde205d6..d66665c85c 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -145,6 +145,7 @@ namespace llvm {
/// getCurrentSection() - Return the current section we are emitting to.
const MCSection *getCurrentSection() const;
+ MCSymbol *getSymbol(const GlobalValue *GV) const;
//===------------------------------------------------------------------===//
// MachineFunctionPass Implementation.