aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CoverageMappingGen.cpp
diff options
context:
space:
mode:
authorjimingham <jingham@apple.com>2023-09-19 11:25:53 -0700
committerGitHub <noreply@github.com>2023-09-19 11:25:53 -0700
commit7265f792dc8e1157a3874aee5f8aed6d4d8236e7 (patch)
treea442aa241ba9d4679f669d7e1c1330e5d8aa32d8 /clang/lib/CodeGen/CoverageMappingGen.cpp
parent1a8c69176e24c57d6d5860c3cd7046f7aef8db6f (diff)
downloadllvm-7265f792dc8e1157a3874aee5f8aed6d4d8236e7.zip
llvm-7265f792dc8e1157a3874aee5f8aed6d4d8236e7.tar.gz
llvm-7265f792dc8e1157a3874aee5f8aed6d4d8236e7.tar.bz2
Fix a bug with cancelling "attach -w" after you have run a process previously (#65822)
The problem is that the when the "attach" command is initiated, the ExecutionContext for the command has a process - it's the exited one from the previour run. But the `attach wait` creates a new process for the attach, and then errors out instead of interrupting when it finds that its process and the one in the command's ExecutionContext don't match. This change checks that if we're returning a target from GetExecutionContext, we fill the context with it's current process, not some historical one.
Diffstat (limited to 'clang/lib/CodeGen/CoverageMappingGen.cpp')
0 files changed, 0 insertions, 0 deletions