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 a0e611c commit c318746Copy full SHA for c318746
lld/MachO/Writer.cpp
@@ -175,12 +175,12 @@ template <class LP> class LCSegment : public LoadCommand {
175
public:
176
LCSegment(StringRef name, OutputSegment *seg) : name(name), seg(seg) {}
177
178
- uint32_t getSize() const {
+ uint32_t getSize() const override {
179
return sizeof(typename LP::segment_command) +
180
seg->numNonHiddenSections() * sizeof(typename LP::section);
181
}
182
183
- void writeTo(uint8_t *buf) const {
+ void writeTo(uint8_t *buf) const override {
184
using SegmentCommand = typename LP::segment_command;
185
using Section = typename LP::section;
186
0 commit comments