aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMichael Buch <michaelbuch12@gmail.com>2025-02-07 09:27:04 +0000
committerGitHub <noreply@github.com>2025-02-07 09:27:04 +0000
commit1608fe8d56015719d5bf7abca608adad8a866f43 (patch)
treec272345d3ee2552b008baccf03a1bcd7b0d05c15 /clang/lib/Frontend/CompilerInvocation.cpp
parent4bf97aa818965d86055c762a42f6d518e8e3a21e (diff)
downloadllvm-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