aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/configuration.py
diff options
context:
space:
mode:
authorJannik Silvanus <37809848+jasilvanus@users.noreply.github.com>2024-04-29 15:37:42 +0200
committerGitHub <noreply@github.com>2024-04-29 15:37:42 +0200
commit5f9ae61dee0f6432c1dcc16b4412bb99803fa7d5 (patch)
tree371db8a6a781f2b53525be432d10abc5585f37c4 /lldb/packages/Python/lldbsuite/test/configuration.py
parentcaa902613a96f63c3855b3a0bcd82d1b1db49408 (diff)
downloadllvm-5f9ae61dee0f6432c1dcc16b4412bb99803fa7d5.zip
llvm-5f9ae61dee0f6432c1dcc16b4412bb99803fa7d5.tar.gz
llvm-5f9ae61dee0f6432c1dcc16b4412bb99803fa7d5.tar.bz2
[Support][YamlTraits] Add quoting for keys in textual YAML representation (#88763)
The support library contains helpers to parse and emit YAML documents. In the textual YAML representation, some strings need to be quoted, e.g. when containing unprintable characters. We already have such quoting implemented for YAML values. This patch applies the same quoting to YAML *keys*. One affected case is output of control registers in AMDGPU Msgpack metadata, which are printed in a format like this: ``` 0x2cca (SPI_SHADER_PGM_RSRC1_ES): 42 ``` With this patch, the key is quoted: ``` '0x2cca (SPI_SHADER_PGM_RSRC1_ES)': 42 ``` Most test changes come from this pattern.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions