[lld] [LLD] Use uint64_t timestamp to overcome potential overflow (PR #81665)
Martin Storsjö via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 13 13:35:13 PST 2024
================
@@ -1714,7 +1714,8 @@ void elf::postScanRelocations() {
if (!sym.isDefined()) {
replaceWithDefined(sym, *in.plt,
target->pltHeaderSize +
- target->pltEntrySize * sym.getPltIdx(),
+ (uint64_t)target->pltEntrySize *
+ sym.getPltIdx(),
----------------
mstorsjo wrote:
What does this change have to do with the change in the COFF linker?
https://github.com/llvm/llvm-project/pull/81665
More information about the llvm-commits
mailing list