forked from OSchip/llvm-project
[lld/mac] Copy some of the commit message of d5a70db193
into a comment
This commit is contained in:
parent
2054474640
commit
7b6dd265ce
|
@ -306,6 +306,9 @@ template <class Ptr> void UnwindInfoSectionImpl<Ptr>::finalize() {
|
|||
|
||||
// Dead-stripped functions get a functionAddress of UINT64_MAX in
|
||||
// relocateCompactUnwind(). Filter them out here.
|
||||
// FIXME: This doesn't yet collect associated data like LSDAs kept
|
||||
// alive only by a now-removed CompactUnwindEntry or other comdat-like
|
||||
// data (`kindNoneGroupSubordinate*` in ld64).
|
||||
CompactUnwindEntry<Ptr> tombstone;
|
||||
tombstone.functionAddress = static_cast<Ptr>(UINT64_MAX);
|
||||
cuPtrVector.erase(
|
||||
|
|
Loading…
Reference in New Issue