diff options
Diffstat (limited to 'contrib/llvm/lib/DebugInfo/DWARFDebugFrame.h')
-rw-r--r-- | contrib/llvm/lib/DebugInfo/DWARFDebugFrame.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/contrib/llvm/lib/DebugInfo/DWARFDebugFrame.h b/contrib/llvm/lib/DebugInfo/DWARFDebugFrame.h index 48b8d63a5a64..bd4ef45e4cfe 100644 --- a/contrib/llvm/lib/DebugInfo/DWARFDebugFrame.h +++ b/contrib/llvm/lib/DebugInfo/DWARFDebugFrame.h @@ -12,14 +12,13 @@ #include "llvm/Support/DataExtractor.h" #include "llvm/Support/raw_ostream.h" +#include <memory> #include <vector> - namespace llvm { class FrameEntry; - /// \brief A parsed .debug_frame section /// class DWARFDebugFrame { @@ -35,12 +34,10 @@ public: void parse(DataExtractor Data); private: - typedef std::vector<FrameEntry *> EntryVector; - EntryVector Entries; + std::vector<std::unique_ptr<FrameEntry>> Entries; }; } // namespace llvm -#endif - +#endif |