Skip to content

Commit 1309d6a

Browse files
committed
Change the BPF target to use getStackSection
1 parent d0d67eb commit 1309d6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/BPF/MCTargetDesc/BPFMCAsmInfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class BPFMCAsmInfo : public MCAsmInfoELF {
4949
DwarfUsesRelocationsAcrossSections = enable;
5050
}
5151

52-
MCSection *getNonexecutableStackSection(MCContext &Ctx) const override {
52+
MCSection *getStackSection(MCContext &Ctx, bool Exec) const override {
5353
return nullptr;
5454
}
5555
};

0 commit comments

Comments
 (0)