diff options
author | Michael Buch <michaelbuch12@gmail.com> | 2025-02-07 09:27:04 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-07 09:27:04 +0000 |
commit | 1608fe8d56015719d5bf7abca608adad8a866f43 (patch) | |
tree | c272345d3ee2552b008baccf03a1bcd7b0d05c15 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 4bf97aa818965d86055c762a42f6d518e8e3a21e (diff) | |
download | llvm-1608fe8d56015719d5bf7abca608adad8a866f43.zip llvm-1608fe8d56015719d5bf7abca608adad8a866f43.tar.gz llvm-1608fe8d56015719d5bf7abca608adad8a866f43.tar.bz2 |
[lldb][Breakpoint] Allow whitespace in breakpoint address expression (#126053)
Setting a breakpoint on `<symbol> + <offset>` used to work until
`2c76e88e9eb284d17cf409851fb01f1d583bb22a`, where this regex was
reworked. Now we only accept `<symbol>+ <offset>` or
`<symbol>+<offset>`.
This patch fixes the regression by adding yet another `[[:space:]]*`
component to the regex.
One could probably simplify the regex (or even replace the regex by just
calling the relevent `consumeXXX` APIs on `llvm::StringRef`). Though I
left that for the future.
rdar://130780342
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions