aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
diff options
context:
space:
mode:
authorZequan Wu <zequanwu@google.com>2024-04-17 16:09:38 -0400
committerGitHub <noreply@github.com>2024-04-17 16:09:38 -0400
commit60b90b523323f8196a9e4a68b1f33358624c09eb (patch)
tree702b5fbe3e8e088410d6f3fc30807d944bc8e2d1 /llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
parentd0c51f7d5496015ce410cc758a7caf976ffaaec7 (diff)
downloadllvm-60b90b523323f8196a9e4a68b1f33358624c09eb.zip
llvm-60b90b523323f8196a9e4a68b1f33358624c09eb.tar.gz
llvm-60b90b523323f8196a9e4a68b1f33358624c09eb.tar.bz2
[lldb][DynamicLoader] Fix lldb unable to stop at _dl_debug_state if user set it before the process launched. (#88792)
If user sets a breakpoint at `_dl_debug_state` before the process launched, the breakpoint is not resolved yet. When lldb loads dynamic loader module, it's created with `Target::GetOrCreateModule` which notifies any pending breakpoint to resolve. However, the module's sections are not loaded at this time. They are loaded after returned from [Target::GetOrCreateModule](https://github.com/llvm/llvm-project/blob/0287a5cc4e2a5ded1ae2e4079f91052e6a6b8d9b/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp#L574-L577). This change fixes it by manually resolving breakpoints after creating dynamic loader module.
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp')
0 files changed, 0 insertions, 0 deletions