diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-09-11 18:05:11 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-09-11 18:05:11 +0000 |
commit | 079b96e6f7f3948d06d57937cd5068cbbd790ab0 (patch) | |
tree | 937025d8ebbcdac824652a8a17860f85cb77e063 /llvm/lib/CodeGen/AsmPrinter | |
parent | 9aeba4963aa61503d1542808eb1cd2b647646767 (diff) | |
download | bcm5719-llvm-079b96e6f7f3948d06d57937cd5068cbbd790ab0.tar.gz bcm5719-llvm-079b96e6f7f3948d06d57937cd5068cbbd790ab0.zip |
Revert "Give internal classes hidden visibility."
It works with clang, but GCC has different rules so we can't make all of those
hidden. This reverts commit r190534.
llvm-svn: 190536
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DIE.h | 22 | ||||
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DIEHash.h | 2 | ||||
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h | 2 | ||||
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 2 | ||||
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 10 | ||||
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfException.h | 8 |
6 files changed, 23 insertions, 23 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIE.h b/llvm/lib/CodeGen/AsmPrinter/DIE.h index d76083a67f7..6eaa6ee66ef 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DIE.h +++ b/llvm/lib/CodeGen/AsmPrinter/DIE.h @@ -30,7 +30,7 @@ namespace llvm { //===--------------------------------------------------------------------===// /// DIEAbbrevData - Dwarf abbreviation data, describes one attribute of a /// Dwarf abbreviation. - class LLVM_LIBRARY_VISIBILITY DIEAbbrevData { + class DIEAbbrevData { /// Attribute - Dwarf attribute code. /// uint16_t Attribute; @@ -53,7 +53,7 @@ namespace llvm { //===--------------------------------------------------------------------===// /// DIEAbbrev - Dwarf abbreviation, describes the organization of a debug /// information object. - class LLVM_LIBRARY_VISIBILITY DIEAbbrev : public FoldingSetNode { + class DIEAbbrev : public FoldingSetNode { /// Tag - Dwarf tag code. /// uint16_t Tag; @@ -107,7 +107,7 @@ namespace llvm { /// describes its organization. class DIEValue; - class LLVM_LIBRARY_VISIBILITY DIE { + class DIE { protected: /// Offset - Offset in debug info section. /// @@ -188,7 +188,7 @@ namespace llvm { //===--------------------------------------------------------------------===// /// DIEValue - A debug information entry value. /// - class LLVM_LIBRARY_VISIBILITY DIEValue { + class DIEValue { virtual void anchor(); public: enum { @@ -228,7 +228,7 @@ namespace llvm { //===--------------------------------------------------------------------===// /// DIEInteger - An integer value DIE. /// - class LLVM_LIBRARY_VISIBILITY DIEInteger : public DIEValue { + class DIEInteger : public DIEValue { uint64_t Integer; public: explicit DIEInteger(uint64_t I) : DIEValue(isInteger), Integer(I) {} @@ -270,7 +270,7 @@ namespace llvm { //===--------------------------------------------------------------------===// /// DIEExpr - An expression DIE. // - class LLVM_LIBRARY_VISIBILITY DIEExpr : public DIEValue { + class DIEExpr : public DIEValue { const MCExpr *Expr; public: explicit DIEExpr(const MCExpr *E) : DIEValue(isExpr), Expr(E) {} @@ -298,7 +298,7 @@ namespace llvm { //===--------------------------------------------------------------------===// /// DIELabel - A label DIE. // - class LLVM_LIBRARY_VISIBILITY DIELabel : public DIEValue { + class DIELabel : public DIEValue { const MCSymbol *Label; public: explicit DIELabel(const MCSymbol *L) : DIEValue(isLabel), Label(L) {} @@ -326,7 +326,7 @@ namespace llvm { //===--------------------------------------------------------------------===// /// DIEDelta - A simple label difference DIE. /// - class LLVM_LIBRARY_VISIBILITY DIEDelta : public DIEValue { + class DIEDelta : public DIEValue { const MCSymbol *LabelHi; const MCSymbol *LabelLo; public: @@ -352,7 +352,7 @@ namespace llvm { //===--------------------------------------------------------------------===// /// DIEString - A container for string values. /// - class LLVM_LIBRARY_VISIBILITY DIEString : public DIEValue { + class DIEString : public DIEValue { const DIEValue *Access; const StringRef Str; @@ -383,7 +383,7 @@ namespace llvm { /// DIEEntry - A pointer to another debug information entry. An instance of /// this class can also be used as a proxy for a debug information entry not /// yet defined (ie. types.) - class LLVM_LIBRARY_VISIBILITY DIEEntry : public DIEValue { + class DIEEntry : public DIEValue { DIE *const Entry; public: explicit DIEEntry(DIE *E) : DIEValue(isEntry), Entry(E) { @@ -417,7 +417,7 @@ namespace llvm { //===--------------------------------------------------------------------===// /// DIEBlock - A block of values. Primarily used for location expressions. // - class LLVM_LIBRARY_VISIBILITY DIEBlock : public DIEValue, public DIE { + class DIEBlock : public DIEValue, public DIE { unsigned Size; // Size in bytes excluding size header. public: DIEBlock() diff --git a/llvm/lib/CodeGen/AsmPrinter/DIEHash.h b/llvm/lib/CodeGen/AsmPrinter/DIEHash.h index d0bf34c492a..b792aeab6ce 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DIEHash.h +++ b/llvm/lib/CodeGen/AsmPrinter/DIEHash.h @@ -19,7 +19,7 @@ class CompileUnit; /// \brief An object containing the capability of hashing and adding hash /// attributes onto a DIE. -class LLVM_LIBRARY_VISIBILITY DIEHash { +class DIEHash { // The entry for a particular attribute. struct AttrEntry { const DIEValue *Val; diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h b/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h index 1ea0bfb7a0f..7627313d28f 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfAccelTable.h @@ -65,7 +65,7 @@ class AsmPrinter; class DIE; class DwarfUnits; -class LLVM_LIBRARY_VISIBILITY DwarfAccelTable { +class DwarfAccelTable { static uint32_t HashDJB(StringRef Str) { uint32_t h = 5381; diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h index 2a8b648bd6a..ecffb257025 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h @@ -34,7 +34,7 @@ class DbgVariable; //===----------------------------------------------------------------------===// /// CompileUnit - This dwarf writer support class manages information associated /// with a source file. -class LLVM_LIBRARY_VISIBILITY CompileUnit { +class CompileUnit { /// UniqueID - a numeric ID unique among all CUs in the module /// unsigned UniqueID; diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index 43d8141d1fd..c702180dc35 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -44,7 +44,7 @@ class DIEEntry; //===----------------------------------------------------------------------===// /// \brief This class is used to record source line correspondence. -class LLVM_LIBRARY_VISIBILITY SrcLineInfo { +class SrcLineInfo { unsigned Line; // Source line number. unsigned Column; // Source column. unsigned SourceID; // Source ID number. @@ -62,7 +62,7 @@ public: /// \brief This struct describes location entries emitted in the .debug_loc /// section. -class LLVM_LIBRARY_VISIBILITY DotDebugLocEntry { +class DotDebugLocEntry { // Begin and end symbols for the address range that this location is valid. const MCSymbol *Begin; const MCSymbol *End; @@ -143,7 +143,7 @@ public: //===----------------------------------------------------------------------===// /// \brief This class is used to track local variable information. -class LLVM_LIBRARY_VISIBILITY DbgVariable { +class DbgVariable { DIVariable Var; // Variable Descriptor. DIE *TheDIE; // Variable DIE. unsigned DotDebugLocOffset; // Offset in DotDebugLocEntries. @@ -212,7 +212,7 @@ public: /// \brief Collects and handles information specific to a particular /// collection of units. -class LLVM_LIBRARY_VISIBILITY DwarfUnits { +class DwarfUnits { // Target of Dwarf emission, used for sizing of abbreviations. AsmPrinter *Asm; @@ -301,7 +301,7 @@ public: }; /// \brief Collects and handles dwarf debug information. -class LLVM_LIBRARY_VISIBILITY DwarfDebug { +class DwarfDebug { // Target of Dwarf emission. AsmPrinter *Asm; diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.h b/llvm/lib/CodeGen/AsmPrinter/DwarfException.h index fe86184dc3e..49a85d81b4e 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfException.h @@ -34,7 +34,7 @@ class AsmPrinter; //===----------------------------------------------------------------------===// /// DwarfException - Emits Dwarf exception handling directives. /// -class LLVM_LIBRARY_VISIBILITY DwarfException { +class DwarfException { protected: /// Asm - Target of Dwarf emission. AsmPrinter *Asm; @@ -141,7 +141,7 @@ public: virtual void EndFunction(); }; -class LLVM_LIBRARY_VISIBILITY DwarfCFIException : public DwarfException { +class DwarfCFIException : public DwarfException { /// shouldEmitPersonality - Per-function flag to indicate if .cfi_personality /// should be emitted. bool shouldEmitPersonality; @@ -175,7 +175,7 @@ public: virtual void EndFunction(); }; -class LLVM_LIBRARY_VISIBILITY ARMException : public DwarfException { +class ARMException : public DwarfException { void EmitTypeInfos(unsigned TTypeEncoding); public: //===--------------------------------------------------------------------===// @@ -196,7 +196,7 @@ public: virtual void EndFunction(); }; -class LLVM_LIBRARY_VISIBILITY Win64Exception : public DwarfException { +class Win64Exception : public DwarfException { /// shouldEmitPersonality - Per-function flag to indicate if personality /// info should be emitted. bool shouldEmitPersonality; |