summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test.cc
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2020-07-22 17:59:34 -0700
committerTreehugger Robot <treehugger-gerrit@google.com>2020-07-23 17:08:49 +0000
commitcefebc86af30522bf79d2a89a2bcf96f7f970ecb (patch)
tree6797788da75c2d6d0f4e26a883f25e2ba4e8a47a /compiler/optimizing/codegen_test.cc
parentc2208272f24e921b808af53721d2ca821d76503c (diff)
Print unicode data using java-encoding with -l xml
We would simply dump unicode bytes as-is in XML mode for dexdump. This is often incorrect since xml is surprisingly picky about what chars are valid. To avoid this whole headache simply encode all unicode chars as you could for java strings. Also encode '\' as '\\' to avoid ambiguity. Test: manual Test: dexdump -l xml out/target/product/blueline/testcases/CtsWebkitTestCases/arm64/CtsWebkitTestCases.apk | xmllint - Bug: 161925303 Change-Id: Idc32d8257a98e173c6902c74c3788036f8683f16
Diffstat (limited to 'compiler/optimizing/codegen_test.cc')
0 files changed, 0 insertions, 0 deletions