hanchenye-llvm-project/lldb
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
..
docs Minor typeo fixes in doc scripts 2013-07-19 17:32:48 +00:00
examples Fixed a crash in objc_refs caused by improper 2013-08-13 00:53:33 +00:00
include Add a new Section::SetFileAddress method to change a Section's file 2013-08-16 03:20:42 +00:00
lib Re-introduces ELF core file support for Linux x86-64 2013-07-17 16:06:12 +00:00
lldb.xcodeproj Bump version number to 310.99.0. 2013-07-15 04:47:33 +00:00
lldb.xcworkspace Move the performance test cases into their own project. 2013-03-18 23:05:00 +00:00
resources Bump version number to 310.99.0. 2013-07-15 04:47:33 +00:00
scripts Changed LLVM configure options to reflect the new 2013-08-13 18:11:20 +00:00
source Add a new Section::SetFileAddress method to change a Section's file 2013-08-16 03:20:42 +00:00
test A new test case which adds a dSYM to an executable mid-debug session 2013-08-15 02:49:16 +00:00
tools Disable debugserver builds on non-Mac platforms 2013-08-09 20:36:22 +00:00
utils Fixed continue issues with process attach/detach 2013-05-28 21:27:03 +00:00
www Document "show args" -> "settings show target.run-args" 2013-07-26 23:20:05 +00:00
.arcconfig Adding .arcconfig file to LLDB to allow using Phabricator for reviews 2013-05-23 20:21:28 +00:00
.gitignore Remove "llvm" from list of things to ignore. This results in the 2012-03-03 06:43:59 +00:00
CMakeLists.txt Revise r184335 so that warning suppression flag is only for clang 3.4 and higher 2013-06-20 06:47:36 +00:00
INSTALL.txt Update INSTALL.txt to mention LLDB builds on Linux with GCC or Clang. 2013-02-21 22:37:18 +00:00
LICENSE.TXT
Makefile Fix Linux i386 build 2013-03-07 00:48:53 +00:00