diff options
| -rw-r--r-- | llvm/include/llvm/MC/MCAsmInfo.h | 8 | ||||
| -rw-r--r-- | llvm/lib/MC/MCAsmInfo.cpp | 1 | ||||
| -rw-r--r-- | llvm/lib/MC/MCAsmInfoDarwin.cpp | 1 | 
3 files changed, 0 insertions, 10 deletions
diff --git a/llvm/include/llvm/MC/MCAsmInfo.h b/llvm/include/llvm/MC/MCAsmInfo.h index 5d796731143..8516de0188d 100644 --- a/llvm/include/llvm/MC/MCAsmInfo.h +++ b/llvm/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;} diff --git a/llvm/lib/MC/MCAsmInfo.cpp b/llvm/lib/MC/MCAsmInfo.cpp index b726b3d9359..a275be2c53c 100644 --- a/llvm/lib/MC/MCAsmInfo.cpp +++ b/llvm/lib/MC/MCAsmInfo.cpp @@ -59,7 +59,6 @@ MCAsmInfo::MCAsmInfo() {    HasNoDeadStrip = false;    WeakRefDirective = 0;    WeakDefDirective = 0; -  WeakDefAutoPrivateDirective = 0;    LinkOnceDirective = 0;    HiddenVisibilityAttr = MCSA_Hidden;    ProtectedVisibilityAttr = MCSA_Protected; diff --git a/llvm/lib/MC/MCAsmInfoDarwin.cpp b/llvm/lib/MC/MCAsmInfoDarwin.cpp index 4f5075f50ef..0bd3b2d001e 100644 --- a/llvm/lib/MC/MCAsmInfoDarwin.cpp +++ b/llvm/lib/MC/MCAsmInfoDarwin.cpp @@ -33,7 +33,6 @@ MCAsmInfoDarwin::MCAsmInfoDarwin() {    // Directives:    WeakDefDirective = "\t.weak_definition ";    WeakRefDirective = "\t.weak_reference "; -  WeakDefAutoPrivateDirective = "\t.weak_def_can_be_hidden ";    ZeroDirective = "\t.space\t";  // ".space N" emits N zeros.    HasMachoZeroFillDirective = true;  // Uses .zerofill    HasMachoTBSSDirective = true; // Uses .tbss  | 

