llvm-project/lldb/source
Greg Clayton 5ce9c5657c <rdar://problem/13159777>
lldb was mmap'ing archive files once per .o file it loads, now it correctly shares the archive between modules.

LLDB was also always mapping entire contents of universal mach-o files, now it maps just the slice that is required.

Added a new logging channel for "lldb" called "mmap" to help track future regressions.

Modified the ObjectFile and ObjectContainer plugin interfaces to take a data offset along with the file offset and size so we can implement the correct caching and efficient reading of parts of files without mmap'ing the entire file like we used to.

The current implementation still keeps entire .a files mmaped (once) and entire slices from universal files mmaped to ensure that if a client builds their binaries during a debug session we don't lose our data and get corrupt object file info and debug info.

llvm-svn: 174524
2013-02-06 17:22:03 +00:00
..
API <rdar://problem/13159777> 2013-02-06 17:22:03 +00:00
Breakpoint <rdar://problem/9141269> 2013-01-30 00:18:29 +00:00
Commands Change CommandObjectTargetSymbolsAdd to require that a target exists; 2013-02-02 06:00:36 +00:00
Core <rdar://problem/13159777> 2013-02-06 17:22:03 +00:00
DataFormatters Fix GCC 4.6 build by avoiding delegating ctors 2013-02-06 16:46:40 +00:00
Expression Correct the definition of ObjC's BOOL in our pre-canned set of defines. It's supposed to 2013-02-01 19:33:52 +00:00
Host <rdar://problem/13092722> 2013-02-01 21:38:35 +00:00
Interpreter <rdar://problem/13050227> 2013-02-01 23:33:03 +00:00
Plugins <rdar://problem/13159777> 2013-02-06 17:22:03 +00:00
Symbol <rdar://problem/13159777> 2013-02-06 17:22:03 +00:00
Target Remove the m_images(NULL) hack in the Target ctor now 2013-02-04 23:30:05 +00:00
Utility <rdar://problem/13069948> 2013-01-25 18:06:21 +00:00
Makefile Actually build DataFormatters dir. Fix for the r173732 fix. 2013-01-29 22:20:20 +00:00
lldb-log.cpp <rdar://problem/13159777> 2013-02-06 17:22:03 +00:00
lldb.cpp Enable ProcessGDBRemote plugin on Linux 2013-01-08 14:55:36 +00:00