Skip to content

Commit

Permalink
[lldb][test] Fix sh_type of .debug_cu_index and .debug_tu_index
Browse files Browse the repository at this point in the history
They do not have the SHF_EXCLUDE flag.
After D73999, MC errors `changed section type for .debug_cu_index, expected: 0x0`
  • Loading branch information
MaskRay committed Feb 22, 2020
1 parent e33c9bb commit ebee131
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lldb/test/Shell/SymbolFile/DWARF/dwp-debug-types.s
Expand Up @@ -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
2 changes: 1 addition & 1 deletion lldb/test/Shell/SymbolFile/DWARF/dwp.s
Expand Up @@ -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
Expand Down

0 comments on commit ebee131

Please sign in to comment.