Skip to content

Commit f990251

Browse files
committed
[MC] Make getEHFrameSection const like every other getter (NFC)
1 parent f75f391 commit f990251

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/include/llvm/MC/MCObjectFileInfo.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -412,9 +412,7 @@ class MCObjectFileInfo {
412412
// XCOFF specific sections
413413
MCSection *getTOCBaseSection() const { return TOCBaseSection; }
414414

415-
MCSection *getEHFrameSection() {
416-
return EHFrameSection;
417-
}
415+
MCSection *getEHFrameSection() const { return EHFrameSection; }
418416

419417
enum Environment { IsMachO, IsELF, IsCOFF, IsWasm, IsXCOFF };
420418
Environment getObjectFileType() const { return Env; }

0 commit comments

Comments
 (0)