Speculative build fix for GCC 5.3.0

It was failing with

llvm/lib/MC/XCOFFObjectWriter.cpp:168:53: error: array must be initialized with a brace-enclosed initializer
   std::array<Section *const, 2> Sections{&Text, &BSS};
                                                     ^
This commit is contained in:
Hans Wennborg 2019-10-24 19:57:35 +02:00
parent 0c798aa448
commit 5da6d4ec16
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ class XCOFFObjectWriter : public MCObjectWriter {
// All the XCOFF sections, in the order they will appear in the section header
// table.
std::array<Section *const, 2> Sections{&Text, &BSS};
std::array<Section *const, 2> Sections = {&Text, &BSS};
CsectGroup &getCsectGroup(const MCSectionXCOFF *MCSec);