[lldb][test] Fix sh_flags and sh_entsize of .debug_str.dwo
authorFangrui Song <maskray@google.com>
Sat, 22 Feb 2020 02:48:53 +0000 (18:48 -0800)
committerFangrui Song <maskray@google.com>
Sat, 22 Feb 2020 02:51:05 +0000 (18:51 -0800)
sh_flags: SHF_MERGE | SHF_STRINGS | SHF_EXCLUDE
sh_entsize: 1

Incorrect sh_flags or sh_entsize is an error after the assembler change made by D73999.

lldb/test/Shell/SymbolFile/DWARF/dwp.s

index 659d770..7987299 100644 (file)
@@ -105,7 +105,7 @@ F\I:
 # This deliberately excludes compile unit 4 to check test the case of a missing
 # split unit.
 .irpc I,0123
-        .section        .debug_str.dwo,"e",@progbits
+        .section        .debug_str.dwo,"MSe",@progbits,1
 .Lstr\I:
         .byte   'I', 'N', 'T', '0'+\I, 0