diff options
author | Adrian Vogelsgesang <avogelsgesang@salesforce.com> | 2024-11-16 19:01:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-16 19:01:12 +0100 |
commit | 4f48a81a620bc9280be4780f3554cdc9bda55bd3 (patch) | |
tree | a0a6760e43ee908b83d39862f64af17e92f56d52 /clang/lib/Lex/ModuleMap.cpp | |
parent | 15ca79998ae7f2a3919b8c1c3573730f4c5e13ed (diff) | |
download | llvm-4f48a81a620bc9280be4780f3554cdc9bda55bd3.zip llvm-4f48a81a620bc9280be4780f3554cdc9bda55bd3.tar.gz llvm-4f48a81a620bc9280be4780f3554cdc9bda55bd3.tar.bz2 |
[lldb-dap] Support column breakpoints (#113787)
This commit adds support for column breakpoints to lldb-dap.
To do so, support for the `breakpointLocations` request was
added. To find all available breakpoint positions, we iterate over
the line table.
The `setBreakpoints` request already forwarded the column correctly to
`SBTarget::BreakpointCreateByLocation`. However, `SourceBreakpointMap`
did not keep track of multiple breakpoints in the same line. To do so,
the `SourceBreakpointMap` is now indexed by line+column instead of by
line only.
See http://jonasdevlieghere.com/post/lldb-column-breakpoints/ for a
high-level introduction to column breakpoints.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions