aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorRoy Shi <royitaqi@users.noreply.github.com>2025-09-11 22:17:21 -0700
committerGitHub <noreply@github.com>2025-09-11 22:17:21 -0700
commit13daa1e6efdbdc322265fda7ad8f5b265d2ab4aa (patch)
tree3b3ec0f465fb6a5f240091ef289e8da8b65dfbab /clang/lib/Frontend/InitPreprocessor.cpp
parentdf2a7a9ec9afbcc2d1ab87cdcb55059fc2a0aaa8 (diff)
downloadllvm-13daa1e6efdbdc322265fda7ad8f5b265d2ab4aa.zip
llvm-13daa1e6efdbdc322265fda7ad8f5b265d2ab4aa.tar.gz
llvm-13daa1e6efdbdc322265fda7ad8f5b265d2ab4aa.tar.bz2
[lldb-dap] Add `debugAdapterEnv` for `attach` requests & improve regex (#157980)
# Changes #153536 added a new debug configuration field called `debugAdapterEnv` and enabled it in `launch.json` **for `launch` requests**. This patch enables the same for **`attach` requests**. This patch also improves the regex used in this field, i.e. shortens it and fixes the double backslashes (`\\`) in `debug-adapter-factory.ts` (note: the ones in `package.json` need the double backslashes). # Test Manually tested the following values in `attach` requests (so that we are testing both changes at the same time): ``` // Accepted "debugAdapterEnv": [ "AAA=BBB", ], "debugAdapterEnv": [ "AAA=", ], "debugAdapterEnv": [ "AAA", ], // Rejected "debugAdapterEnv": [ "=AAA", ], "debugAdapterEnv": [ "=", ], "debugAdapterEnv": [ "", ], ```
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions