[lldb][test] Fix sh_type of .debug_cu_index and .debug_tu_index
authorFangrui Song <maskray@google.com>
Sat, 22 Feb 2020 01:37:01 +0000 (17:37 -0800)
committerFangrui Song <maskray@google.com>
Sat, 22 Feb 2020 01:38:39 +0000 (17:38 -0800)
They do not have the SHF_EXCLUDE flag.
After D73999, MC errors `changed section type for .debug_cu_index, expected: 0x0`

lldb/test/Shell/SymbolFile/DWARF/dwp-debug-types.s
lldb/test/Shell/SymbolFile/DWARF/dwp.s

index fd00938..8680d27 100644 (file)
@@ -203,9 +203,9 @@ A\I:
 .endr
 .endmacro
 
-        .section        .debug_cu_index,"e",@progbits
+        .section        .debug_cu_index,"",@progbits
         index 1, .debug_info.dwo, .Lcu_begin, .Ldebug_info_end
 
-        .section        .debug_tu_index,"e",@progbits
+        .section        .debug_tu_index,"",@progbits
         index 2, .debug_types.dwo, .Ltu_begin, .Ltype_info_end
 .endif
index 7306094..659d770 100644 (file)
@@ -232,7 +232,7 @@ F\I:
 .Ldebug_info_end\I:
 .endr
 
-        .section        .debug_cu_index,"e",@progbits
+        .section        .debug_cu_index,"",@progbits
         .short  2                       # DWARF version number
         .short  0                       # Reserved
         .long   4                       # Section count