[llvm] [CLANG][DWARF] Handle DIE offset collision in DW_IDX_parent (PR #95039)
Alexander Yermolovich via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 12 16:04:52 PDT 2024
ayermolo wrote:
Thanks for flagging.
Looks like issue is in: llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp
```
DebugNames->addName(
*DebugStrStrings.getExistingEntry(Info.String), Info.OutOffset,
std::nullopt /*ParentDIEOffset*/, Info.Tag, CU->getUniqueID(),
CU->getOutUnitDIE()->getTag() == dwarf::DW_TAG_type_unit);
```
Passing false instead fixes asan.
https://github.com/llvm/llvm-project/pull/95039
More information about the llvm-commits
mailing list