summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2018-10-12 16:31:20 +0000
committerZachary Turner <zturner@google.com>2018-10-12 16:31:20 +0000
commit9f169afab22b7334739c9de0ea1a1ab1ee0c357e (patch)
tree229ee75795d586e7e7d8f49238a6ce903a1f273b /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent9c544199cfd74acdf8b049ff120032a26142e8a2 (diff)
downloadbcm5719-llvm-9f169afab22b7334739c9de0ea1a1ab1ee0c357e.tar.gz
bcm5719-llvm-9f169afab22b7334739c9de0ea1a1ab1ee0c357e.zip
Make YAML quote forward slashes.
If you have the string /usr/bin, prior to this patch it would not be quoted by our YAML serializer. But a string like C:\src would be, due to the presence of a backslash. This makes the quoting rules of basically every single file path different depending on the path syntax (posix vs. Windows). While technically not required by the YAML specification to quote forward slashes, when the behavior of paths is inconsistent it makes it difficult to portably write FileCheck lines that will work with either kind of path. Differential Revision: https://reviews.llvm.org/D53169 llvm-svn: 344359
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud