[all-commits] [llvm/llvm-project] 59ba19: [VirtualFileSystem] Add unit test that showcases Y...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue May 12 14:47:49 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 59ba19c56e1cf6d01e6acce1bf405a57f19c340c
      https://github.com/llvm/llvm-project/commit/59ba19c56e1cf6d01e6acce1bf405a57f19c340c
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-05-12 (Tue, 12 May 2020)

  Changed paths:
    M llvm/unittests/Support/VirtualFileSystemTest.cpp

  Log Message:
  -----------
  [VirtualFileSystem] Add unit test that showcases YAMLVFSWriter bug

This scenario generates a broken YAML mapping as illustrated below.

 {
   'type': 'directory',
   'name': "c",
   'contents': [
     {
       'type': 'file',
       'name': "d",
       'external-contents': "//root/a/c/d"
     }            {
       'type': 'file',
       'name': "e",
       'external-contents': "//root/a/c/e"
     }            {
       'type': 'file',
       'name': "f",
       'external-contents': "//root/a/c/f"
     }
   ]
 },




More information about the All-commits mailing list