projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2054474
)
[lld/mac] Copy some of the commit message of d5a70db193 into a comment
author
Nico Weber
<thakis@chromium.org>
Sat, 8 May 2021 17:03:17 +0000
(13:03 -0400)
committer
Nico Weber
<thakis@chromium.org>
Sat, 8 May 2021 17:03:17 +0000
(13:03 -0400)
lld/MachO/UnwindInfoSection.cpp
patch
|
blob
|
history
diff --git
a/lld/MachO/UnwindInfoSection.cpp
b/lld/MachO/UnwindInfoSection.cpp
index
76502bf
..
a9f0bbd
100644
(file)
--- a/
lld/MachO/UnwindInfoSection.cpp
+++ b/
lld/MachO/UnwindInfoSection.cpp
@@
-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(