[llvm] 51776ec - DebugInfo: Fix test to match comment

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 14 16:04:45 PST 2021


Author: David Blaikie
Date: 2021-12-14T16:03:34-08:00
New Revision: 51776ecaffa2db9fc032b0de5b7ef5ada2037333

URL: https://github.com/llvm/llvm-project/commit/51776ecaffa2db9fc032b0de5b7ef5ada2037333
DIFF: https://github.com/llvm/llvm-project/commit/51776ecaffa2db9fc032b0de5b7ef5ada2037333.diff

LOG: DebugInfo: Fix test to match comment

This produced a few verifier warnings that came up while I was
investigating something else here. Change the assembly to match the
comment so it's warning free. Doesn't seem necessary to change the
CHECKs for the test since it's just a bug in the test, not in the code
under test.

Added: 
    

Modified: 
    llvm/test/tools/llvm-dwarfdump/X86/verify_strings.s

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-dwarfdump/X86/verify_strings.s b/llvm/test/tools/llvm-dwarfdump/X86/verify_strings.s
index e09ffd502cbd..9786e6e3e934 100644
--- a/llvm/test/tools/llvm-dwarfdump/X86/verify_strings.s
+++ b/llvm/test/tools/llvm-dwarfdump/X86/verify_strings.s
@@ -22,7 +22,7 @@ str_producer:
         .section .debug_abbrev,"", at progbits
         .byte 0x01  # Abbrev code
         .byte 0x11  # DW_TAG_compile_unit
-        .byte 0x01  # DW_CHILDREN_no
+        .byte 0x00  # DW_CHILDREN_no
         .byte 0x25  # DW_AT_producer
         .byte 0x1a  # DW_FORM_strx
         .byte 0x72  # DW_AT_str_offsets_base


        


More information about the llvm-commits mailing list