diff --git a/llvm/test/tools/yaml2obj/ELF/DWARF/debug-str.yaml b/llvm/test/tools/yaml2obj/ELF/DWARF/debug-str.yaml --- a/llvm/test/tools/yaml2obj/ELF/DWARF/debug-str.yaml +++ b/llvm/test/tools/yaml2obj/ELF/DWARF/debug-str.yaml @@ -142,7 +142,7 @@ AddressAlign: 2 # 0 by default. Address: 0x0000000000002020 # 0x00 by default. Offset: 0x00000050 # 0x40 for the first section. - Size: 6 # Set the "Size" so that we can reuse the check tag "OVERRIEDDEN" + Size: 6 # Set the "Size" so that we can reuse the check tag "OVERRIDDEN" ## g) Test that all the properties can be overridden by the section header when ## the "debug_str" entry is used. @@ -189,9 +189,9 @@ Machine: EM_X86_64 DWARF: -## i) Test that if we try to initialize the .debug_str section with a preserved "Type", e.g., -## SHT_DYNAMIC, yaml2obj will treat it as a dynamic section and discard the content in the -## "DWARF" entry. +## i) Test that if we try to initialize the .debug_str section with a "Type" with non-standard +## syntax, e.g., SHT_DYNAMIC, yaml2obj will treat it as a dynamic section and discard the +## content in the "DWARF" entry. # RUN: yaml2obj --docnum=9 %s -o %t9.o # RUN: llvm-readelf -S %t9.o | FileCheck %s --check-prefix=DYN-SHDR