aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorMichał Górny <mgorny@moritz.systems>2020-11-28 11:11:01 +0100
committerMichał Górny <mgorny@moritz.systems>2020-12-17 09:31:22 +0100
commitdbfdb139f75470a9abc78e7c9faf743fdd963c2d (patch)
tree97420272ddfb10353d724ddece49d821a852d424 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent8666b9057f23badfe90548297f3c01937daa4a9c (diff)
downloadllvm-dbfdb139f75470a9abc78e7c9faf743fdd963c2d.zip
llvm-dbfdb139f75470a9abc78e7c9faf743fdd963c2d.tar.gz
llvm-dbfdb139f75470a9abc78e7c9faf743fdd963c2d.tar.bz2
[lldb] [POSIX-DYLD] Update the cached exe path after attach
Fix the POSIX-DYLD plugin to update the cached executable path after attaching. Previously, the path was cached in DYLDRendezvous constructor and not updated afterwards. This meant that if LLDB was attaching to a process (e.g. via connecting to lldb-server), the code stored the empty path before DidAttach() resolved it. The fix updates the cached path in DidAttach(). This fixes a new instance of https://llvm.org/pr17880 Differential Revision: https://reviews.llvm.org/D92264
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions