llvm-project/lldb
Pavel Labath 162fb8e8ab Speed up NativeProcessLinux::GetLoadedModuleFileSpec
Summary:
GetLoadedModuleFileSpec was reading /proc/pid/maps character by character, which was very slow,
since we do that for every shared library, which android tends to have a lot. Switching to
ProcFileReader saves us about 0.4 seconds in attach time.

Reviewers: tberghammer

Subscribers: tberghammer, danalbert, lldb-commits

Differential Revision: http://reviews.llvm.org/D11460

llvm-svn: 243019
2015-07-23 14:47:33 +00:00
..
cmake Re-enable static Android build after build master restart. 2015-07-21 17:50:49 +00:00
docs Add jThreadsInfo support to lldb-server 2015-07-16 14:14:35 +00:00
examples Improved the packet dumper to escape the response string before sending it to the response functions (find any 0x7d characters and remove it and XOR the next character with 0x20). This allows us to parse the JSON in the reply packet and display it correctly. 2015-07-22 20:12:58 +00:00
include Fix warnings found by -Wextra-semi 2015-07-22 08:12:01 +00:00
lib [Makefiles] One more library rename to align with CMake 2015-07-15 22:39:44 +00:00
lit
lldb.xcodeproj Add an Either<T,U> type to lldb_utility which represents a type-safe payload of either one type or another, à la Haskell 2015-07-22 02:06:37 +00:00
lldb.xcworkspace Working on getting the OSX build green 2015-05-12 02:20:27 +00:00
resources
scripts Refactor Unix signals. 2015-07-14 01:09:28 +00:00
source Speed up NativeProcessLinux::GetLoadedModuleFileSpec 2015-07-23 14:47:33 +00:00
test Remove XFAIL from ReturnValueTestCase after rL242972 2015-07-23 09:49:59 +00:00
tools [lldb-mi] Remove unwanted comment blocks. 2015-07-23 09:04:56 +00:00
unittests Fix StringExtractor.h issues. 2015-07-07 15:19:03 +00:00
utils
www Fix typos. 2015-07-22 00:16:02 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt Standalone cmake build improvements (bug #23889) 2015-07-17 15:50:48 +00:00
CODE_OWNERS.txt
INSTALL.txt Revert the patch to Test Commit Access 2015-07-06 11:26:51 +00:00
LICENSE.TXT
Makefile Test commit 2015-07-22 08:41:18 +00:00