hanchenye-llvm-project/lldb
Jason Molenda b0d33e9b3c Re-instate a bit of code that was commented out in r188246 which
reads an ObjectFileMachO's string table in one chunk.  Originally
this was commented out because binaries in the system's shared cache
all share a mega-string table and so reading the entire mega-strtab
for each binary was a performance problem.

In the reinstated code, I add a check that the binary we're reading
from memory is not in the shared cache (there isn't a constant in
<mach-o/loader.h> for this bit yet; we hardcode the value in one
other place in ObjectFileMachO alread).  For binaries that we're
reading out of memory that are NOT in the shared cache, reading 
the string table in one chunk is a big performance improvement.

Also have debugserver send up the flags value for binaries in its
response to the jGetLoadedDynamicLibrariesInfos request.

NFC.

<rdar://problem/33604496> 

llvm-svn: 341511
2018-09-06 00:55:27 +00:00
..
cmake [cmake] Add option to skip building lldb-server 2018-08-23 18:05:45 +00:00
docs Enable AUTOBRIEF in doxygen configuration. 2018-05-02 16:55:16 +00:00
examples Update cmdtemplate.py to use best pratices. 2018-06-22 23:34:24 +00:00
include/lldb Print column info in backtraces et al. if available 2018-09-05 23:52:08 +00:00
lit [DWARF] Fix dwarf5-index-is-used.cpp 2018-09-03 07:16:06 +00:00
lldb.xcodeproj Add a new tool named "lldb-vscode" that implements the Visual Studio Code Debug Adaptor Protocol 2018-08-16 17:59:38 +00:00
lldb.xcworkspace Fix a typo in the gtest build target for Debug configuration. 2018-04-10 17:49:56 +00:00
packages/Python/lldbsuite Print column info in backtraces et al. if available 2018-09-05 23:52:08 +00:00
resources Fix up Info.plist when building LLDB.framework with CMake 2018-06-19 02:59:30 +00:00
scripts Hold GIL while allocating memory for PythonString. 2018-09-05 17:07:29 +00:00
source Re-instate a bit of code that was commented out in r188246 which 2018-09-06 00:55:27 +00:00
test Fix typo 2018-08-27 21:46:18 +00:00
third_party/Python/module
tools Re-instate a bit of code that was commented out in r188246 which 2018-09-06 00:55:27 +00:00
unittests Change TestCompletion to only ever look inside of BaseDir 2018-09-04 23:09:49 +00:00
utils [CMake] Unify and relayer testing 2018-05-03 16:54:10 +00:00
www [www] Updated outdated download links [NFC] 2018-09-05 14:27:48 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt Introduce install-lldb-framework target 2018-08-01 17:21:18 +00:00
CODE_OWNERS.txt Fix/unify the spelling of Objective-C. 2018-06-13 16:21:24 +00:00
INSTALL.txt
LICENSE.TXT
use_lldb_suite_root.py