aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-15 23:38:51 +0000
committerChris Lattner <sabre@nondot.org>2010-01-15 23:38:51 +0000
commit53d4d78d9a2c26a67ac8f6e81cc149702103fc2c (patch)
tree2db633de70f496f78fd3e681567ffe400883f23b /include/llvm/CodeGen
parentf0aacf8201d96da7d56181e5d02af711e5f8128d (diff)
add a version of AsmPrinter::printVisibility that takes an MCSymbol.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93587 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index 19634cf943..28f3e8bfa0 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -418,6 +418,9 @@ namespace llvm {
/// printVisibility - This prints visibility information about symbol, if
/// this is suported by the target.
+ void printVisibility(const MCSymbol *Sym, unsigned Visibility) const;
+
+ // FIXME: This is deprecated and should be removed.
void printVisibility(const std::string& Name, unsigned Visibility) const;
/// printOffset - This is just convenient handler for printing offsets.