]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r258873: Workaround lldb issue with main module base address
authoremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 19 Mar 2014 13:16:58 +0000 (13:16 +0000)
committeremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 19 Mar 2014 13:16:58 +0000 (13:16 +0000)
commitda60ea51b9ec3a51b2ab7facc4b31c6b88d4fb4d
tree0888f902ab1b30bbe0225c59f06a491319f69168
parentf4da6d212365ce1dc6eb936c14eb3206c81d7905
MFC r258873: Workaround lldb issue with main module base address

  On FreeBSD lldb sometimes reloads the the main module's (executable's)
  symbols at the wrong address.  Work around this for now by explicitly
  reloading at base_address=0 when it happens.

  A proper fix is needed but early testers have reported this issue so
  this workaround should allow them to make further progress.

  http://llvm.org/bugs/show_bug.cgi?id=17880

Sponsored by: DARPA, AFRL

git-svn-id: svn://svn.freebsd.org/base/stable/10@263366 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp