File tree Expand file tree Collapse file tree
lldb/source/Plugins/ObjectFile/Mach-O Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3685,7 +3685,7 @@ size_t ObjectFileMachO::ParseSymtab() {
36853685 if (!ParseNList (nlist_data, nlist_data_offset, nlist_byte_size, nlist))
36863686 break ;
36873687
3688- SymbolType type = eSymbolTypeInvalid ;
3688+ const char *symbol_name_non_abi_mangled = nullptr ;
36893689 const char *symbol_name = nullptr ;
36903690
36913691 if (have_strtab_data) {
@@ -3710,17 +3710,17 @@ size_t ObjectFileMachO::ParseSymtab() {
37103710 str_error))
37113711 symbol_name = memory_symbol_name.c_str ();
37123712 }
3713- const char *symbol_name_non_abi_mangled = nullptr ;
37143713
3714+ SymbolType type = eSymbolTypeInvalid;
37153715 SectionSP symbol_section;
37163716 lldb::addr_t symbol_byte_size = 0 ;
37173717 bool add_nlist = true ;
37183718 bool is_gsym = false ;
3719- bool is_debug = ((nlist.n_type & N_STAB) != 0 );
37203719 bool demangled_is_synthesized = false ;
37213720 bool set_value = true ;
3722- assert (sym_idx < num_syms);
37233721
3722+ const bool is_debug = ((nlist.n_type & N_STAB) != 0 );
3723+ assert (sym_idx < num_syms);
37243724 sym[sym_idx].SetDebug (is_debug);
37253725
37263726 if (is_debug) {
@@ -4073,7 +4073,6 @@ size_t ObjectFileMachO::ParseSymtab() {
40734073 break ;
40744074 }
40754075 } else {
4076- // uint8_t n_pext = N_PEXT & nlist.n_type;
40774076 uint8_t n_type = N_TYPE & nlist.n_type ;
40784077 sym[sym_idx].SetExternal ((N_EXT & nlist.n_type ) != 0 );
40794078
You can’t perform that action at this time.
0 commit comments