[llvm] [NFC] Remove unused MCObjectFileInfo methods (PR #209906)
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 15 14:48:17 PDT 2026
https://github.com/aeubanks created https://github.com/llvm/llvm-project/pull/209906
None
>From f2b5f73dca52ccd6eeb5c6a131df67e4669dfcea Mon Sep 17 00:00:00 2001
From: Arthur Eubanks <aeubanks at google.com>
Date: Wed, 15 Jul 2026 21:46:16 +0000
Subject: [PATCH] [NFC] Remove unused MCObjectFileInfo methods
---
llvm/include/llvm/MC/MCObjectFileInfo.h | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/llvm/include/llvm/MC/MCObjectFileInfo.h b/llvm/include/llvm/MC/MCObjectFileInfo.h
index 379c4e9094531..d10411b56517d 100644
--- a/llvm/include/llvm/MC/MCObjectFileInfo.h
+++ b/llvm/include/llvm/MC/MCObjectFileInfo.h
@@ -380,21 +380,6 @@ class LLVM_ABI MCObjectFileInfo {
MCSection *getPCSection(StringRef Name, const MCSection *TextSec) const;
- // ELF specific sections.
- MCSection *getDataRelROSection() const { return DataRelROSection; }
- const MCSection *getMergeableConst4Section() const {
- return MergeableConst4Section;
- }
- const MCSection *getMergeableConst8Section() const {
- return MergeableConst8Section;
- }
- const MCSection *getMergeableConst16Section() const {
- return MergeableConst16Section;
- }
- const MCSection *getMergeableConst32Section() const {
- return MergeableConst32Section;
- }
-
// MachO specific sections.
const MCSection *getTLSTLVSection() const { return TLSTLVSection; }
const MCSection *getTLSThreadInitSection() const {
More information about the llvm-commits
mailing list