From 205afe679855a4ce8149cdaa94d3f0868ce796dc Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 6 Feb 2015 21:38:51 +0000 Subject: Import LLDB as of upstream SVN r225923 (git 2b588ecd) This corresponds with the branchpoint for the 3.6 release. A number of files not required for the FreeBSD build have been removed. Sponsored by: DARPA, AFRL --- source/API/SBSection.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/API/SBSection.cpp') diff --git a/source/API/SBSection.cpp b/source/API/SBSection.cpp index 3fb84e81465c9..809eca60c6838 100644 --- a/source/API/SBSection.cpp +++ b/source/API/SBSection.cpp @@ -250,6 +250,14 @@ SBSection::GetSectionType () return eSectionTypeInvalid; } +uint32_t +SBSection::GetTargetByteSize () +{ + SectionSP section_sp (GetSP()); + if (section_sp.get()) + return section_sp->GetTargetByteSize(); + return 0; +} bool SBSection::operator == (const SBSection &rhs) -- cgit v1.2.3