From 6a44af36297ae61238bb7ad1e05e77bcc5571f72 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 11 Sep 2013 17:42:27 +0000 Subject: Give internal classes hidden visibility. Worth 100k on a linux/x86_64 Release+Asserts clang. llvm-svn: 190534 --- llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h') diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index c702180dc35..43d8141d1fd 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 SrcLineInfo { +class LLVM_LIBRARY_VISIBILITY 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 DotDebugLocEntry { +class LLVM_LIBRARY_VISIBILITY 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 DbgVariable { +class LLVM_LIBRARY_VISIBILITY 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 DwarfUnits { +class LLVM_LIBRARY_VISIBILITY 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 DwarfDebug { +class LLVM_LIBRARY_VISIBILITY DwarfDebug { // Target of Dwarf emission. AsmPrinter *Asm; -- cgit v1.2.3