diff options
| author | Fangrui Song <maskray@google.com> | 2019-12-15 15:39:30 -0800 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2019-12-15 15:43:30 -0800 |
| commit | fdb408f348f91f8eb4ecc32527aebfb6286e55cb (patch) | |
| tree | 96c631aca9c8865da324de704250926034ece530 /llvm/lib/MC | |
| parent | 064e7d1df17dcd7f82215c258e2793aa1f8ed760 (diff) | |
| download | bcm5719-llvm-fdb408f348f91f8eb4ecc32527aebfb6286e55cb.tar.gz bcm5719-llvm-fdb408f348f91f8eb4ecc32527aebfb6286e55cb.zip | |
[MC] Delete unused MCAsmInfoELF::UsesNonexecutableStackSection after EM_WEBASSEMBLY was removed in D48744
This removes remnant of D15969 which hasn't been removed by D48744.
Diffstat (limited to 'llvm/lib/MC')
| -rw-r--r-- | llvm/lib/MC/MCAsmInfoELF.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCAsmInfoELF.cpp b/llvm/lib/MC/MCAsmInfoELF.cpp index a5e8aff7f12..9b8b8db794f 100644 --- a/llvm/lib/MC/MCAsmInfoELF.cpp +++ b/llvm/lib/MC/MCAsmInfoELF.cpp @@ -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); } |

