[AsmPrinter] Hide implementation details

NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241169 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer
2015-07-01 16:18:16 +00:00
parent bdaa375556
commit a2b83fd687
4 changed files with 6 additions and 6 deletions

View File

@@ -21,7 +21,7 @@ namespace llvm {
class MachineFunction; class MachineFunction;
class ARMTargetStreamer; class ARMTargetStreamer;
class DwarfCFIExceptionBase : public EHStreamer { class LLVM_LIBRARY_VISIBILITY DwarfCFIExceptionBase : public EHStreamer {
protected: protected:
DwarfCFIExceptionBase(AsmPrinter *A); DwarfCFIExceptionBase(AsmPrinter *A);
@@ -31,7 +31,7 @@ protected:
void markFunctionEnd() override; void markFunctionEnd() override;
}; };
class DwarfCFIException : public DwarfCFIExceptionBase { class LLVM_LIBRARY_VISIBILITY DwarfCFIException : public DwarfCFIExceptionBase {
/// Per-function flag to indicate if .cfi_personality should be emitted. /// Per-function flag to indicate if .cfi_personality should be emitted.
bool shouldEmitPersonality; bool shouldEmitPersonality;
@@ -61,7 +61,7 @@ public:
void endFunction(const MachineFunction *) override; void endFunction(const MachineFunction *) override;
}; };
class ARMException : public DwarfCFIExceptionBase { class LLVM_LIBRARY_VISIBILITY ARMException : public DwarfCFIExceptionBase {
void emitTypeInfos(unsigned TTypeEncoding) override; void emitTypeInfos(unsigned TTypeEncoding) override;
ARMTargetStreamer &getTargetStreamer(); ARMTargetStreamer &getTargetStreamer();

View File

@@ -30,7 +30,7 @@ template <typename T>
class SmallVectorImpl; class SmallVectorImpl;
/// Emits exception handling directives. /// Emits exception handling directives.
class EHStreamer : public AsmPrinterHandler { class LLVM_LIBRARY_VISIBILITY EHStreamer : public AsmPrinterHandler {
protected: protected:
/// Target of directive emission. /// Target of directive emission.
AsmPrinter *Asm; AsmPrinter *Asm;

View File

@@ -29,7 +29,7 @@
namespace llvm { namespace llvm {
/// \brief Collects and handles line tables information in a CodeView format. /// \brief Collects and handles line tables information in a CodeView format.
class WinCodeViewLineTables : public AsmPrinterHandler { class LLVM_LIBRARY_VISIBILITY WinCodeViewLineTables : public AsmPrinterHandler {
AsmPrinter *Asm; AsmPrinter *Asm;
DebugLoc PrevInstLoc; DebugLoc PrevInstLoc;

View File

@@ -23,7 +23,7 @@ class MachineFunction;
class MCExpr; class MCExpr;
struct WinEHFuncInfo; struct WinEHFuncInfo;
class WinException : public EHStreamer { class LLVM_LIBRARY_VISIBILITY WinException : public EHStreamer {
/// Per-function flag to indicate if personality info should be emitted. /// Per-function flag to indicate if personality info should be emitted.
bool shouldEmitPersonality = false; bool shouldEmitPersonality = false;