We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e9d15a commit b4f7ddfCopy full SHA for b4f7ddf
lld/MachO/BPSectionOrderer.cpp
@@ -78,10 +78,7 @@ static uint64_t getUnwindInfoEncodingHash(const InputSection *isec) {
78
cu.relocateOneCompactUnwindEntry(d);
79
if (cu.lsda)
80
return xxHash64("HAS LSDA");
81
- StringRef name = (cu.personality == nullptr) ? "<none>"
82
- : cu.personality->getName().empty()
83
- ? "<unnamed>"
84
- : cu.personality->getName();
+ StringRef name = (cu.personality) ? cu.personality->getName() : "<null>";
85
return xxHash64((name + ";" + Twine::utohexstr(cu.encoding)).str());
86
}
87
0 commit comments