aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2015-02-06 12:07:29 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2015-02-06 12:07:29 +0000
commitbb3967151653f3497b0260e7970207aaa0483a78 (patch)
treea6e5a64031dfc3053868dda9c09df4aff3dc52da /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
parent3a2da9eb0deb330d7cd85bfc40f3761875e68b4e (diff)
downloadllvm-bb3967151653f3497b0260e7970207aaa0483a78.zip
llvm-bb3967151653f3497b0260e7970207aaa0483a78.tar.gz
llvm-bb3967151653f3497b0260e7970207aaa0483a78.tar.bz2
[compiler-rt] Make MaybeReexec properly process DYLD_INSERT_LIBRARIES when using non-absolute paths
MaybeReexec() in asan_mac.cc checks for presence of the ASan dylib in DYLD_INSERT_LIBRARIES, and if it is there, it will process this env. var. and remove the dylib from its value, so that spawned children don't have this variable set. However, the current implementation only works when using a canonical absolute path to the dylib, it fails to remove the dylib for example when using @executable_path. This patch changes the processing of DYLD_INSERT_LIBRARIES to comparing values only based on filenames (ignoring directories). Reviewed at http://reviews.llvm.org/D7160 llvm-svn: 228392
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
0 files changed, 0 insertions, 0 deletions