Skip to content
Browse files

[MC] Delete unused MCAsmInfoELF::UsesNonexecutableStackSection after …

…EM_WEBASSEMBLY was removed in D48744

This removes remnant of D15969 which hasn't been removed by D48744.
  • Loading branch information
MaskRay committed Dec 15, 2019
1 parent 064e7d1 commit fdb408f348f91f8eb4ecc32527aebfb6286e55cb
@@ -18,10 +18,6 @@ class MCAsmInfoELF : public MCAsmInfo {
MCSection *getNonexecutableStackSection(MCContext &Ctx) const final;

/// Targets which have non-executable stacks by default can set this to false
/// to disable the special section which requests a non-executable stack.
bool UsesNonexecutableStackSection = true;


@@ -21,8 +21,6 @@ using namespace llvm;
void MCAsmInfoELF::anchor() {}

MCSection *MCAsmInfoELF::getNonexecutableStackSection(MCContext &Ctx) const {
if (!UsesNonexecutableStackSection)
return nullptr;
return Ctx.getELFSection(".note.GNU-stack", ELF::SHT_PROGBITS, 0);

This file was deleted.

0 comments on commit fdb408f

Please sign in to comment.
You can’t perform that action at this time.