summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARFDebugFrame.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-02-15 12:30:38 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-02-15 12:30:38 +0000
commit6ecb1e78a9f497c2485037de384ea730f1ae440c (patch)
treebf1c8300391c04725e8fc3400bfeb9769157454f /llvm/lib/DebugInfo/DWARFDebugFrame.cpp
parentfd61b6f0c811a831c7b3fdbde4186b3975bbfef2 (diff)
downloadbcm5719-llvm-6ecb1e78a9f497c2485037de384ea730f1ae440c.tar.gz
bcm5719-llvm-6ecb1e78a9f497c2485037de384ea730f1ae440c.zip
Make helpers static. Add missing include so LLVMInitializeObjCARCOpts gets C linkage.
llvm-svn: 175264
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFDebugFrame.cpp')
-rw-r--r--llvm/lib/DebugInfo/DWARFDebugFrame.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/DWARFDebugFrame.cpp b/llvm/lib/DebugInfo/DWARFDebugFrame.cpp
index 9da304d31f8..69e3a3a62fc 100644
--- a/llvm/lib/DebugInfo/DWARFDebugFrame.cpp
+++ b/llvm/lib/DebugInfo/DWARFDebugFrame.cpp
@@ -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() {
OpenPOWER on IntegriCloud