1 //===-- SBSection.h ---------------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLDB_SBSection_h_
11 #define LLDB_SBSection_h_
13 #include "lldb/API/SBDefines.h"
14 #include "lldb/API/SBData.h"
24 SBSection (const lldb::SBSection &rhs);
28 const lldb::SBSection &
29 operator = (const lldb::SBSection &rhs);
41 FindSubSection (const char *sect_name);
47 GetSubSectionAtIndex (size_t idx);
53 GetLoadAddress (lldb::SBTarget &target);
68 GetSectionData (uint64_t offset,
75 operator == (const lldb::SBSection &rhs);
78 operator != (const lldb::SBSection &rhs);
81 GetDescription (lldb::SBStream &description);
86 friend class SBAddress;
87 friend class SBModule;
88 friend class SBTarget;
90 SBSection (const lldb::SectionSP §ion_sp);
96 SetSP(const lldb::SectionSP §ion_sp);
98 lldb::SectionWP m_opaque_wp;
104 #endif // LLDB_SBSection_h_