[all-commits] [llvm/llvm-project] 53c164: [llvm/Object] - Fix the error message reported for...
GeorgiiR via All-commits
all-commits at lists.llvm.org
Fri Oct 25 02:24:58 PDT 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 53c164e2216fd705ceadfdec6ac44b5b175d9248
https://github.com/llvm/llvm-project/commit/53c164e2216fd705ceadfdec6ac44b5b175d9248
Author: georgerim <georgerim at gmail.com>
Date: 2019-10-25 (Fri, 25 Oct 2019)
Changed paths:
M llvm/include/llvm/Object/ELF.h
M llvm/test/Object/invalid.test
M llvm/test/tools/obj2yaml/elf-sht-symtab-shndx.yaml
Log Message:
-----------
[llvm/Object] - Fix the error message reported for a broken SHT_SYMTAB_SHNDX section.
SHT_SYMTAB_SHNDX should have the same number of entries as the symbol table
associated (https://www.sco.com/developers/gabi/latest/ch4.sheader.html)
We currently can report the following message:
"SHT_SYMTAB_SHNDX section has sh_size (24) which is not equal to the number of symbols (2)"
It is just broken. This patch refines/fixes it.
Differential revision: https://reviews.llvm.org/D69305
More information about the All-commits
mailing list