aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorDaniil Kovalev <dkovalev@accesssoftek.com>2025-04-19 17:40:50 +0300
committerGitHub <noreply@github.com>2025-04-19 17:40:50 +0300
commit8fdebff69d92fd3c6023bf2d0646ca909bb4ec05 (patch)
treeb4ae70accd8e1e9245d23ddf6dd03f0b5f207bd5 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentfc55ad4ceb7dda17d4d7eb3d44ac3833ecda1a84 (diff)
downloadllvm-8fdebff69d92fd3c6023bf2d0646ca909bb4ec05.zip
llvm-8fdebff69d92fd3c6023bf2d0646ca909bb4ec05.tar.gz
llvm-8fdebff69d92fd3c6023bf2d0646ca909bb4ec05.tar.bz2
[PAC][ThinLTO] Fix auth key for GOT entries of function symbols (#131467)
Symtab is first filled with the data from the bitcode file, and all undefined symbols except TLS ones are `STT_NOTYPE`. Since auth key for a signed GOT entry depends on the symbol type being `STT_FUNC` or not, we need to update the symtab after the bitcode is compiled to an ELF object and update symbol types for function symbols. This patch implements the described behavior.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions