aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELF.cpp
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2025-07-02 11:30:34 -0600
committerGitHub <noreply@github.com>2025-07-02 10:30:34 -0700
commitcbfc10260cfeab7ede763bffad4c71d9ae20abd2 (patch)
tree4ef66fe155063a3b0c77d953978c68c8784880d6 /llvm/lib/Object/ELF.cpp
parent50f40a5327ad9f8a4a57bb2bf7679f489f86b726 (diff)
downloadllvm-cbfc10260cfeab7ede763bffad4c71d9ae20abd2.zip
llvm-cbfc10260cfeab7ede763bffad4c71d9ae20abd2.tar.gz
llvm-cbfc10260cfeab7ede763bffad4c71d9ae20abd2.tar.bz2
Fix lld crash caused by dynamic bit offset patch (#146701)
PR #141106 changed the debuginfo metdata to allow dynamic bit offsets and sizes. This caused a crash in lld when using LTO. The problem is that lazyLoadOneMetadata assumes that the metadata in question can be cast to MDNode; but in the typical case where the offset is a constant, this is not true. This patch changes this spot to allow non-MDNodes through. The included test case comes from the report in #141106.
Diffstat (limited to 'llvm/lib/Object/ELF.cpp')
0 files changed, 0 insertions, 0 deletions