hanchenye-llvm-project/lldb/source
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
..
API Support setting a breakpoint by FileSpec+Line+Column in the SBAPI. 2018-08-30 15:11:00 +00:00
Breakpoint Support setting a breakpoint by FileSpec+Line+Column in the SBAPI. 2018-08-30 15:11:00 +00:00
Commands File completion bugfix 2018-08-31 23:03:28 +00:00
Core Print column info in backtraces et al. if available 2018-09-05 23:52:08 +00:00
DataFormatters Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
Expression Allow IRInterpreter to deal with non-power-of-2 sized types to support some bitfield accesses. 2018-08-28 22:50:01 +00:00
Host Modernize NativeProcessProtocol::GetSoftwareBreakpointTrapOpcode 2018-09-05 18:08:56 +00:00
Initialization Move pretty stack trace printer into driver. 2018-07-17 10:04:19 +00:00
Interpreter Move RegisterValue,Scalar,State from Core to Utility 2018-08-07 11:07:21 +00:00
Plugins Re-instate a bit of code that was commented out in r188246 which 2018-09-06 00:55:27 +00:00
Symbol [Symtab][NFC] Added llvm_unreachable to supress compiler warning 2018-09-03 12:57:54 +00:00
Target Support setting a breakpoint by FileSpec+Line+Column in the SBAPI. 2018-08-30 15:11:00 +00:00
Utility Terminate debugger if an assert was hit 2018-09-04 17:19:15 +00:00
CMakeLists.txt Remove Plugins/Process/POSIX from include_directories 2017-04-11 12:26:25 +00:00
lldb.cpp Run clang-format on lldb.cpp 2017-11-02 16:56:52 +00:00