From 2f9c1f2f1705f293b679af62876112d4b77bb9aa Mon Sep 17 00:00:00 2001 From: Alexey Samsonov Date: Mon, 28 Apr 2014 22:52:24 +0000 Subject: [DWARF parser] DWARFDebugFrame: use unique_ptr instead of raw pointer git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207459 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/DebugInfo/DWARFDebugFrame.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/DebugInfo/DWARFDebugFrame.h') diff --git a/lib/DebugInfo/DWARFDebugFrame.h b/lib/DebugInfo/DWARFDebugFrame.h index 7683849b4a..bd4ef45e4c 100644 --- a/lib/DebugInfo/DWARFDebugFrame.h +++ b/lib/DebugInfo/DWARFDebugFrame.h @@ -12,14 +12,13 @@ #include "llvm/Support/DataExtractor.h" #include "llvm/Support/raw_ostream.h" +#include #include - namespace llvm { class FrameEntry; - /// \brief A parsed .debug_frame section /// class DWARFDebugFrame { @@ -35,8 +34,7 @@ public: void parse(DataExtractor Data); private: - typedef std::vector EntryVector; - EntryVector Entries; + std::vector> Entries; }; -- cgit v1.2.3