[PATCH] D53169: Make YAML serializer quote forward slashes

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 12 09:33:19 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rLLD344359: Make YAML quote forward slashes. (authored by zturner, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D53169?vs=169299&id=169431#toc

Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D53169

Files:
  test/mach-o/cstring-sections.yaml
  test/mach-o/parse-data-relocs-x86_64.yaml
  test/mach-o/parse-data.yaml
  test/mach-o/sectcreate.yaml


Index: test/mach-o/sectcreate.yaml
===================================================================
--- test/mach-o/sectcreate.yaml
+++ test/mach-o/sectcreate.yaml
@@ -8,5 +8,5 @@
 # CHECK:     type:            sectcreate
 # CHECK:     content:         [ 68, 65, 6C, 6C, 6F, 0A ]
 # CHECK:     section-choice:  custom-required
-# CHECK:     section-name:    __DATA/__data
+# CHECK:     section-name:    '__DATA/__data'
 # CHECK:     dead-strip:      never
Index: test/mach-o/parse-data-relocs-x86_64.yaml
===================================================================
--- test/mach-o/parse-data-relocs-x86_64.yaml
+++ test/mach-o/parse-data-relocs-x86_64.yaml
@@ -367,6 +367,6 @@
 # CHECK:    type:            unknown
 # CHECK:    content:         [ 00, 00, 00, 00, 00, 00, 00, 00 ]
 # CHECK:    section-choice:  custom-required
-# CHECK:    section-name:    __DATA/__custom
+# CHECK:    section-name:    '__DATA/__custom'
 # CHECK:    dead-strip:      never
 
Index: test/mach-o/parse-data.yaml
===================================================================
--- test/mach-o/parse-data.yaml
+++ test/mach-o/parse-data.yaml
@@ -115,5 +115,5 @@
 # CHECK:     type:            unknown
 # CHECK:     content:         [ 01, 02, 03, 04, 05, 06, 07, 08 ]
 # CHECK:     section-choice:  custom-required
-# CHECK:     section-name:    __CUST/__custom
+# CHECK:     section-name:    '__CUST/__custom'
 
Index: test/mach-o/cstring-sections.yaml
===================================================================
--- test/mach-o/cstring-sections.yaml
+++ test/mach-o/cstring-sections.yaml
@@ -36,25 +36,25 @@
 # CHECK:     content:         [ 61, 62, 63, 00 ]
 # CHECK:     merge:           by-content
 # CHECK:     section-choice:  custom-required
-# CHECK:     section-name:    __TEXT/__objc_methname
+# CHECK:     section-name:    '__TEXT/__objc_methname'
 # CHECK:   - scope:           hidden
 # CHECK:     type:            c-string
 # CHECK:     content:         [ 64, 65, 66, 00 ]
 # CHECK:     merge:           by-content
 # CHECK:     section-choice:  custom-required
-# CHECK:     section-name:    __TEXT/__objc_methname
+# CHECK:     section-name:    '__TEXT/__objc_methname'
 # CHECK:   - scope:           hidden
 # CHECK:     type:            c-string
 # CHECK:     content:         [ 61, 62, 63, 00 ]
 # CHECK:     merge:           by-content
 # CHECK:     section-choice:  custom-required
-# CHECK:     section-name:    __TEXT/__objc_classname
+# CHECK:     section-name:    '__TEXT/__objc_classname'
 # CHECK:   - scope:           hidden
 # CHECK:     type:            c-string
 # CHECK:     content:         [ 67, 68, 69, 00 ]
 # CHECK:     merge:           by-content
 # CHECK:     section-choice:  custom-required
-# CHECK:     section-name:    __TEXT/__objc_classname
+# CHECK:     section-name:    '__TEXT/__objc_classname'
 # CHECK:   - scope:           hidden
 # CHECK:     type:            c-string
 # CHECK:     content:         [ 61, 62, 63, 00 ]


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53169.169431.patch
Type: text/x-patch
Size: 2973 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181012/3db1d011/attachment.bin>


More information about the llvm-commits mailing list