Simplify handling of --noexecstack by using getNonexecutableStackSection.
[oota-llvm.git] / lib / MC / WinCOFFStreamer.cpp
index 078091c1e1634a84b66c9cce98c05e632e0b446a..32813a1d26313751b053cc1df86b1670c9a63a01 100644 (file)
@@ -61,7 +61,7 @@ void MCWinCOFFStreamer::EmitInstToData(const MCInst &Inst,
   DF->getContents().append(Code.begin(), Code.end());
 }
 
-void MCWinCOFFStreamer::InitSections() {
+void MCWinCOFFStreamer::InitSections(bool NoExecStack) {
   // FIXME: this is identical to the ELF one.
   // This emulates the same behavior of GNU as. This makes it easier
   // to compare the output as the major sections are in the same order.