[llvm-branch-commits] [llvm] f990251 - [MC] Make getEHFrameSection const like every other getter (NFC)
Jonas Devlieghere via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jan 11 17:00:45 PST 2021
Author: Jonas Devlieghere
Date: 2021-01-11T16:56:29-08:00
New Revision: f9902514fe548346a5175a3521c61fc4819c5b8a
URL: https://github.com/llvm/llvm-project/commit/f9902514fe548346a5175a3521c61fc4819c5b8a
DIFF: https://github.com/llvm/llvm-project/commit/f9902514fe548346a5175a3521c61fc4819c5b8a.diff
LOG: [MC] Make getEHFrameSection const like every other getter (NFC)
Added:
Modified:
llvm/include/llvm/MC/MCObjectFileInfo.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/MC/MCObjectFileInfo.h b/llvm/include/llvm/MC/MCObjectFileInfo.h
index 1a737d67280b..2e6a84b6861f 100644
--- a/llvm/include/llvm/MC/MCObjectFileInfo.h
+++ b/llvm/include/llvm/MC/MCObjectFileInfo.h
@@ -412,9 +412,7 @@ class MCObjectFileInfo {
// XCOFF specific sections
MCSection *getTOCBaseSection() const { return TOCBaseSection; }
- MCSection *getEHFrameSection() {
- return EHFrameSection;
- }
+ MCSection *getEHFrameSection() const { return EHFrameSection; }
enum Environment { IsMachO, IsELF, IsCOFF, IsWasm, IsXCOFF };
Environment getObjectFileType() const { return Env; }
More information about the llvm-branch-commits
mailing list