From ebee131259719fa9c06cd346e21ace3fa8ac0888 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Fri, 21 Feb 2020 17:37:01 -0800 Subject: [PATCH] [lldb][test] Fix sh_type of .debug_cu_index and .debug_tu_index 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 | 4 ++-- lldb/test/Shell/SymbolFile/DWARF/dwp.s | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lldb/test/Shell/SymbolFile/DWARF/dwp-debug-types.s b/lldb/test/Shell/SymbolFile/DWARF/dwp-debug-types.s index fd00938..8680d27 100644 --- a/lldb/test/Shell/SymbolFile/DWARF/dwp-debug-types.s +++ b/lldb/test/Shell/SymbolFile/DWARF/dwp-debug-types.s @@ -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 diff --git a/lldb/test/Shell/SymbolFile/DWARF/dwp.s b/lldb/test/Shell/SymbolFile/DWARF/dwp.s index 7306094..659d770 100644 --- a/lldb/test/Shell/SymbolFile/DWARF/dwp.s +++ b/lldb/test/Shell/SymbolFile/DWARF/dwp.s @@ -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 -- 2.7.4