aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2020-07-17 08:03:07 +0200
committerRaphael Isemann <teemperor@gmail.com>2020-07-17 08:35:38 +0200
commit16926115ed28d1370bca1085dfb1b20c842b0ffb (patch)
treee21d15c5cb7e257bf11ff43d2e8d8a9f251682c4 /clang/lib/Frontend/CompilerInvocation.cpp
parent6bba95831e480656124a5fbcd84f4f2a31e6c0b6 (diff)
downloadllvm-16926115ed28d1370bca1085dfb1b20c842b0ffb.zip
llvm-16926115ed28d1370bca1085dfb1b20c842b0ffb.tar.gz
llvm-16926115ed28d1370bca1085dfb1b20c842b0ffb.tar.bz2
[lldb] Only set the executable module for a target once
Summary: When we try to find the executable module for our target we don't check if we already have an executable module set. This causes that when debugging a program that dlopens another executable, LLDB will take that other executable as the new executable of the target (which causes that future launches of the target will launch the dlopen'd executable instead of the original executable). This just adds a check that we only set the executable when we haven't already found one. Fixes rdar://63443099 Reviewers: jasonmolenda, jingham, teemperor Reviewed By: jasonmolenda, teemperor Subscribers: jingham, JDevlieghere Differential Revision: https://reviews.llvm.org/D80724
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions