Make helpers static. Add missing include so LLVMInitializeObjCARCOpts gets C linkage.
[oota-llvm.git] / lib / DebugInfo / DWARFDebugFrame.cpp
index 9da304d31f80ac73ee84e5b650c79df9b3f0f98b..69e3a3a62fcb8e55405621c9bf2961197c30e5bc 100644 (file)
@@ -46,7 +46,7 @@ protected:
   uint64_t Length;
 };
 
-
+namespace {
 /// \brief DWARF Common Information Entry (CIE)
 class CIE : public FrameEntry {
 public:
@@ -128,6 +128,7 @@ private:
   uint64_t AddressRange;
   CIE *LinkedCIE;
 };
+} // end anonymous namespace
 
 
 DWARFDebugFrame::DWARFDebugFrame() {