[Lldb-commits] [PATCH] D22219: Support loading files even when incorrect file name specified by the linker

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 11 10:06:46 PDT 2016


clayborg requested changes to this revision.
clayborg added a comment.
This revision now requires changes to proceed.

Looks good. Please pipe the GetName through the SBMemoryRegionInfo by modifying the SBMemoryRegionInfo.h, SBMemoryRegionInfo.cpp, and SBMemoryRegionInfo.i files. The signature should be:

  const char *
  SBMemoryRegionInfo::GetName();

Since m_name is a ConstString, you can just return the m_name.GetCString() since the string is owned by the string pool.


http://reviews.llvm.org/D22219





More information about the lldb-commits mailing list