summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARFDebugFrame.cpp
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2013-02-06 16:20:31 +0000
committerEli Bendersky <eliben@google.com>2013-02-06 16:20:31 +0000
commit582320603b10d388cf0e0e362b42c77e3230fd0c (patch)
treedc39d28b0169bd90f8635207c6259394d5490016 /llvm/lib/DebugInfo/DWARFDebugFrame.cpp
parent046b9306d4b39b48dc74a84ce40a7f6931aea7d4 (diff)
downloadbcm5719-llvm-582320603b10d388cf0e0e362b42c77e3230fd0c.tar.gz
bcm5719-llvm-582320603b10d388cf0e0e362b42c77e3230fd0c.zip
Add some comments to new frame entries
llvm-svn: 174515
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFDebugFrame.cpp')
-rw-r--r--llvm/lib/DebugInfo/DWARFDebugFrame.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/DWARFDebugFrame.cpp b/llvm/lib/DebugInfo/DWARFDebugFrame.cpp
index 974cecc3868..62e48562512 100644
--- a/llvm/lib/DebugInfo/DWARFDebugFrame.cpp
+++ b/llvm/lib/DebugInfo/DWARFDebugFrame.cpp
@@ -17,6 +17,8 @@ using namespace llvm;
using namespace dwarf;
+/// \brief Abstract frame entry defining the common interface concrete
+/// entries implement.
class llvm::FrameEntry {
public:
enum FrameKind {FK_CIE, FK_FDE};
@@ -45,6 +47,7 @@ protected:
};
+/// \brief DWARF Common Information Entry (CIE)
class CIE : public FrameEntry {
public:
// CIEs (and FDEs) are simply container classes, so the only sensible way to
@@ -84,6 +87,7 @@ private:
};
+/// \brief DWARF Frame Description Entry (FDE)
class FDE : public FrameEntry {
public:
// Each FDE has a CIE it's "linked to". Our FDE contains is constructed with
OpenPOWER on IntegriCloud