diff options
author | Michał Górny <mgorny@moritz.systems> | 2020-11-28 11:11:01 +0100 |
---|---|---|
committer | Michał Górny <mgorny@moritz.systems> | 2020-12-17 09:31:22 +0100 |
commit | dbfdb139f75470a9abc78e7c9faf743fdd963c2d (patch) | |
tree | 97420272ddfb10353d724ddece49d821a852d424 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 8666b9057f23badfe90548297f3c01937daa4a9c (diff) | |
download | llvm-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