hanchenye-llvm-project/lldb/source
Jason Molenda 20eb31b907 Add a new Section::SetFileAddress method to change a Section's file
address.

When loading a dSYM, and the file addresses of the dSYM Sections are
different than the executable binary Sections' file addresses, the
debug info won't be remapped to the actual load addresses correctly.
This only happens with binaries on the in-memory shared cache binaries
where their File addresses have been set to their actual load address
(outside an offset value) whereas the original executable and dSYM
have 0-based File addresses.

I think this patch will not be activated for other cases -- this is
the only case we know of where the dSYM and the executable's File
addresses differ -- but if this causes other problems we can restrict
it more carefully.

<rdar://problem/12335086> 

llvm-svn: 188532
2013-08-16 03:20:42 +00:00
..
API Fix the logging messages for SBFrame::FindRegister(). 2013-07-26 22:52:30 +00:00
Breakpoint Fix Rendezvous breakpoint to only be set once, resolve addr in BreakpointLocationList::FindByAddress 2013-07-16 21:22:53 +00:00
Commands Send a stop event when an expression stops at a breakpoint 2013-07-30 19:54:09 +00:00
Core Add a new Section::SetFileAddress method to change a Section's file 2013-08-16 03:20:42 +00:00
DataFormatters clean up about 22 warnings messages 2013-08-07 19:05:15 +00:00
Expression clean up about 22 warnings messages 2013-08-07 19:05:15 +00:00
Host Fix bug in Host::getLLDBPath() due to misusing Twine 2013-08-06 21:40:08 +00:00
Interpreter Add format specifiers to various format ids so we can print thread ids in decimal on Linux and FreeBSD. 2013-07-30 16:44:36 +00:00
Plugins Add a new Section::SetFileAddress method to change a Section's file 2013-08-16 03:20:42 +00:00
Symbol Fixed a problem where "image lookup -t" was printing 2013-08-13 01:42:34 +00:00
Target <rdar://problem/14717184> 2013-08-13 21:32:34 +00:00
Utility Add new files to CMakeLists.txt to fix cmake build error. 2013-06-17 23:07:22 +00:00
CMakeLists.txt Re-introduces ELF core file support for Linux x86-64 2013-07-17 16:06:12 +00:00
Makefile Remove LLDB dependency on xcodeworkspace (on Linux) for version number 2013-02-28 16:51:15 +00:00
lldb-log.cpp Don't compare 4 characters on a 2 character string. 2013-05-22 23:36:10 +00:00
lldb.cpp Re-introduces ELF core file support for Linux x86-64 2013-07-17 16:06:12 +00:00