aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2010-07-08 20:30:44 +0000
committerKevin Enderby <enderby@apple.com>2010-07-08 20:30:44 +0000
commitccad21152a19c62eed42303b0d41e077640183f0 (patch)
tree1c7251ef5e4122994fc95306d778ec7ace919ffa /include/llvm/MC
parente839d46632093c38330966474f2ab017c036ea19 (diff)
downloadexternal_llvm-ccad21152a19c62eed42303b0d41e077640183f0.zip
external_llvm-ccad21152a19c62eed42303b0d41e077640183f0.tar.gz
external_llvm-ccad21152a19c62eed42303b0d41e077640183f0.tar.bz2
Revert some unneeded parts of the change in r107886 for the
.weak_def_can_be_hidden directive. Chris pointed out that the MCAsmInfo.h/.cpp chunks aren't needed for this until the compiler starts generating these. And when that happens it will be more convenient for it to be a bool than a const char*. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107906 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC')
-rw-r--r--include/llvm/MC/MCAsmInfo.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/llvm/MC/MCAsmInfo.h b/include/llvm/MC/MCAsmInfo.h
index 5d79673..8516de0 100644
--- a/include/llvm/MC/MCAsmInfo.h
+++ b/include/llvm/MC/MCAsmInfo.h
@@ -217,11 +217,6 @@ namespace llvm {
/// global as being a weak defined symbol.
const char *WeakDefDirective; // Defaults to NULL.
- /// WeakDefAutoPrivateDirective - This directive, if non-null, is used to
- /// declare a global as being a weak defined symbol that is automatically
- /// made private by the static linker.
- const char *WeakDefAutoPrivateDirective; // Defaults to NULL.
-
/// LinkOnceDirective - This directive, if non-null is used to declare a
/// global as being a weak defined symbol. This is used on cygwin/mingw.
const char *LinkOnceDirective; // Defaults to NULL.
@@ -392,9 +387,6 @@ namespace llvm {
bool hasNoDeadStrip() const { return HasNoDeadStrip; }
const char *getWeakRefDirective() const { return WeakRefDirective; }
const char *getWeakDefDirective() const { return WeakDefDirective; }
- const char *getWeakDefAutoPrivateDirective() const {
- return WeakDefAutoPrivateDirective;
- }
const char *getLinkOnceDirective() const { return LinkOnceDirective; }
MCSymbolAttr getHiddenVisibilityAttr() const { return HiddenVisibilityAttr;}