[all-commits] [llvm/llvm-project] e00ac4: [ELF] Use tombstone values for discarded symbols i...
Igor Kudrin via All-commits
all-commits at lists.llvm.org
Wed Jan 12 21:32:47 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e00ac48df3a6d5e3fa23fdb898c5179a75fd855f
https://github.com/llvm/llvm-project/commit/e00ac48df3a6d5e3fa23fdb898c5179a75fd855f
Author: Igor Kudrin <ikudrin at accesssoftek.com>
Date: 2022-01-13 (Thu, 13 Jan 2022)
Changed paths:
M lld/ELF/InputSection.cpp
A lld/test/ELF/debug-dead-reloc-relocatable.s
Log Message:
-----------
[ELF] Use tombstone values for discarded symbols in relocatable output
This extends D81784. Sections can be discarded when linking a
relocatable output. Before the patch, LLD did not update the content
of debug sections and only replaced the corresponding relocations with
R_*_NONE, which could break the debug information.
Differential Revision: https://reviews.llvm.org/D116946
More information about the All-commits
mailing list