Commit 95a18b84 authored by jasonliu's avatar jasonliu
Browse files

Follow up on D69112, fix build break for skipping field initialization

Clang emit warning for skipping field initialization. Add {} to fix it.
This is a patch that fixes issue introduced in https://reviews.llvm.org/D69112
parent 201ed14a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -156,8 +156,8 @@ class XCOFFObjectWriter : public MCObjectWriter {
  // CsectGroups. These store the csects which make up different parts of
  // the sections. Should have one for each set of csects that get mapped into
  // the same section and get handled in a 'similar' way.
  CsectGroup ProgramCodeCsects{CsectGroup::LabelDefSupported};
  CsectGroup BSSCsects{CsectGroup::LabelDefUnsupported};
  CsectGroup ProgramCodeCsects{CsectGroup::LabelDefSupported, {}};
  CsectGroup BSSCsects{CsectGroup::LabelDefUnsupported, {}};

  // The Predefined sections.
  Section Text;