Skip to content

Commit b254e58

Browse files
Ris-Baliquic-seaswara
authored andcommitted
Relax static assert in ELFSection.h
This patch relaxes the static assert in `include/eld/Readers/ELFSection.h` Signed-off-by: Rishabh Bali <rbali@qti.qualcomm.com>
1 parent fec6414 commit b254e58

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

include/eld/Readers/ELFSection.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,9 @@ class ELFSection : public ELFSectionBase {
338338
llvm::SmallVector<ELFSection *, 0> DependentSections;
339339
};
340340

341-
static_assert(sizeof(ELFSection) <= 240, "ELFSection grew too large!");
341+
#ifndef _WIN32
342+
static_assert(sizeof(ELFSection) <= 248, "ELFSection grew too large!");
343+
#endif
342344

343345
} // namespace eld
344346

0 commit comments

Comments
 (0)