[all-commits] [llvm/llvm-project] 784c7d: [elfabi] Fix a bug when .dynsym contains no non-lo...
Zero Omega via All-commits
all-commits at lists.llvm.org
Fri Feb 19 11:37:46 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 784c7debb21795a0c0a4188590a7eac14f170744
https://github.com/llvm/llvm-project/commit/784c7debb21795a0c0a4188590a7eac14f170744
Author: Haowei Wu <haowei at google.com>
Date: 2021-02-19 (Fri, 19 Feb 2021)
Changed paths:
M llvm/lib/InterfaceStub/ELFObjHandler.cpp
A llvm/test/tools/llvm-elfabi/write-stub-no-nonlocal-symbol.test
Log Message:
-----------
[elfabi] Fix a bug when .dynsym contains no non-local symbol
This patch fixed a bug when elbabi was supplied with a tbe file
contains no non-local symbol. Before this patch, it wrote 0 to
sh_info of the .dynsym section, making the ELF stub file invalid.
This patch fixed this issue.
Differential Revision: https://reviews.llvm.org/D96930
More information about the All-commits
mailing list