We reported the error in this case.
But it was asked (https://reviews.llvm.org/D73193#inline-665595) to convert it
to a warning. This patch does it.
Details
Details
Diff Detail
Diff Detail
Event Timeline
llvm/test/tools/llvm-readobj/ELF/invalid-shstrndx.test | ||
---|---|---|
16–34 | Perhaps worth showing what is printed for this and subsequent section headers? |
llvm/tools/llvm-readobj/ELFDumper.cpp | ||
---|---|---|
5755 | if (Expected<StringRef> SecNameOrErr = Obj->getSectionName(&Sec, this->WarningHandler)) Name = *SecNameOrErr; else this->reportUniqueWarning(SecNameOrErr.takeError()); |
Perhaps worth showing what is printed for this and subsequent section headers?