[llvm] 5a8ac3c - [yaml2obj] - Fix comments. NFC.

Georgii Rymar via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 19 05:13:30 PDT 2020


Author: Georgii Rymar
Date: 2020-10-19T15:13:01+03:00
New Revision: 5a8ac3cc63d22acbe9ce872b3c84911f02a39bf4

URL: https://github.com/llvm/llvm-project/commit/5a8ac3cc63d22acbe9ce872b3c84911f02a39bf4
DIFF: https://github.com/llvm/llvm-project/commit/5a8ac3cc63d22acbe9ce872b3c84911f02a39bf4.diff

LOG: [yaml2obj] - Fix comments. NFC.

This addressed post commit comments for D89391.

Added: 
    

Modified: 
    llvm/test/tools/yaml2obj/ELF/llvm-addrsig-section.yaml
    llvm/test/tools/yaml2obj/ELF/note-section.yaml

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/yaml2obj/ELF/llvm-addrsig-section.yaml b/llvm/test/tools/yaml2obj/ELF/llvm-addrsig-section.yaml
index f8659fe44814..d6dae9c179c6 100644
--- a/llvm/test/tools/yaml2obj/ELF/llvm-addrsig-section.yaml
+++ b/llvm/test/tools/yaml2obj/ELF/llvm-addrsig-section.yaml
@@ -118,7 +118,7 @@ Sections:
     Type: SHT_LLVM_ADDRSIG
     Content: "1122334455"
 
-## Check we emit an empty section if neither "Content", "Size" not "Symbols" were set.
+## Check we emit an empty section if neither "Content", "Size" nor "Symbols" were set.
 
 # RUN: yaml2obj --docnum=6 %s -o %t6
 # RUN: llvm-readelf --sections %t6 | FileCheck %s --check-prefix=NO-TAGS

diff  --git a/llvm/test/tools/yaml2obj/ELF/note-section.yaml b/llvm/test/tools/yaml2obj/ELF/note-section.yaml
index ccb49caa5b25..b52050ef428f 100644
--- a/llvm/test/tools/yaml2obj/ELF/note-section.yaml
+++ b/llvm/test/tools/yaml2obj/ELF/note-section.yaml
@@ -172,7 +172,7 @@ Sections:
     Type:    SHT_NOTE
     Content: "1122334455"
 
-## Check we emit an empty section if neither "Content", "Size" not "Notes" were set.
+## Check we emit an empty section if neither "Content", "Size" nor "Notes" were set.
 
 # RUN: yaml2obj --docnum=8 %s -o %t8
 # RUN: llvm-readelf --sections %t8 | FileCheck %s --check-prefix=NO-TAGS


        


More information about the llvm-commits mailing list