llvm.org GIT mirror llvm / 92f5e26
llvm-readobj: Check for null section pointer git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180006 91177308-0d34-0410-b5e6-96231b3b80d8 Nico Rieck 7 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
798798 W.printEnum("Selection", Aux->Selection, makeArrayRef(ImageCOMDATSelect));
799799 W.printBinary("Unused", makeArrayRef(Aux->Unused));
800800
801 if (Section->Characteristics & COFF::IMAGE_SCN_LNK_COMDAT
801 if (Section && Section->Characteristics & COFF::IMAGE_SCN_LNK_COMDAT
802802 && Aux->Selection == COFF::IMAGE_COMDAT_SELECT_ASSOCIATIVE) {
803803 const coff_section *Assoc;
804804 StringRef AssocName;