[llvm] [llvm-strip] Remove empty SHT_GROUP sections. (PR #97141)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 5 21:54:38 PDT 2024
================
@@ -963,6 +963,8 @@ class GroupSection : public SectionBase {
const DenseMap<SectionBase *, SectionBase *> &FromTo) override;
void onRemove() override;
+ size_t getMembersCount() { return GroupMembers.size(); }
----------------
MaskRay wrote:
`() const`
https://github.com/llvm/llvm-project/pull/97141
More information about the llvm-commits
mailing list