Update the Linux code to reflect the changes done by zturner in r280139
authorSylvestre Ledru <sylvestre@debian.org>
Wed, 31 Aug 2016 07:16:56 +0000 (07:16 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Wed, 31 Aug 2016 07:16:56 +0000 (07:16 +0000)
llvm-svn: 280200

lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp

index 49d57c0..49efeb8 100644 (file)
@@ -1687,7 +1687,7 @@ ParseMemoryRegionInfoFromProcMapsLine (const std::string &maps_line, MemoryRegio
     line_extractor.GetU64(0, 10);          // Read the inode number
 
     line_extractor.SkipSpaces();
-    const char* name = line_extractor.Peek();
+    const char* name = line_extractor.PeekChar();
     if (name)
         memory_region_info.SetName(name);