aboutsummaryrefslogtreecommitdiff
path: root/lib/DebugInfo
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
commit74b3c8da4800c7e8ba8f019879db29738ecc5f74 (patch)
treeb3186368adae9e3b7cbfea1a3d9d95a2a45c059d /lib/DebugInfo
parent1e8839302b70d77de63844332bdee9ce7d06f2c9 (diff)
Make helpers static. Add missing include so LLVMInitializeObjCARCOpts gets C linkage.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175264 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo')
-rw-r--r--lib/DebugInfo/DWARFDebugFrame.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/DebugInfo/DWARFDebugFrame.cpp b/lib/DebugInfo/DWARFDebugFrame.cpp
index 9da304d31f..69e3a3a62f 100644
--- a/lib/DebugInfo/DWARFDebugFrame.cpp
+++ b/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() {