-Yprofile-trace
doesn't correctly escape output
#21858
Labels
Milestone
-Yprofile-trace
doesn't correctly escape output
#21858
Compiler version
3.6.2-RC1-bin-20241028-a3786a5-NIGHTLY
Minimized code
Compiling this code with
-Yprofile-enabled -Yprofile-trace test.trace
Output
Results in a
test.trace
file that contains invalid JSON since the backslash inclass /\
is not escaped:Expectation
The backslash should be escaped with another backslash, i.e.
The text was updated successfully, but these errors were encountered: