[lld/mac] Copy some of the commit message of d5a70db193 into a comment
authorNico Weber <thakis@chromium.org>
Sat, 8 May 2021 17:03:17 +0000 (13:03 -0400)
committerNico Weber <thakis@chromium.org>
Sat, 8 May 2021 17:03:17 +0000 (13:03 -0400)
lld/MachO/UnwindInfoSection.cpp

index 76502bf..a9f0bbd 100644 (file)
@@ -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(