Factored out Linux proc file reading into separate class.
authorTodd Fiala <todd.fiala@gmail.com>
Mon, 30 Jun 2014 04:14:13 +0000 (04:14 +0000)
committerTodd Fiala <todd.fiala@gmail.com>
Mon, 30 Jun 2014 04:14:13 +0000 (04:14 +0000)
commit3dc2fb2fc03b315951b8739435bbfc7f6854576b
tree361639a73ce7cf3fe8845fc745a3345d5408a2dc
parent8dfca43296dc311a342bf9ebf8b37cf19724c3e9
Factored out Linux proc file reading into separate class.

Both NativeProcessLinux (in llgs branch) and Linux Host.cpp had similar code to handle /proc
file reading.  I factored that out into a new Linux-specific ProcFileReader class and added a method
that the llgs branch will use for line-by-line parsing.

This change also adds numerous Linux-specific files to Xcode that were missing from the Xcode
project files.

Related to https://github.com/tfiala/lldb/issues/27

llvm-svn: 212015
lldb/lldb.xcodeproj/project.pbxproj
lldb/source/Host/linux/Host.cpp
lldb/source/Plugins/Process/Linux/CMakeLists.txt
lldb/source/Plugins/Process/Linux/ProcFileReader.cpp [new file with mode: 0644]
lldb/source/Plugins/Process/Linux/ProcFileReader.h [new file with mode: 0644]