[llvm] 7a42fb8 - MCSectinELF: Delete setSectionName declaration

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 20 11:12:49 PDT 2025


Author: Fangrui Song
Date: 2025-07-20T11:12:45-07:00
New Revision: 7a42fb85df596764ebc60aa6841fda9e9b1e1758

URL: https://github.com/llvm/llvm-project/commit/7a42fb85df596764ebc60aa6841fda9e9b1e1758
DIFF: https://github.com/llvm/llvm-project/commit/7a42fb85df596764ebc60aa6841fda9e9b1e1758.diff

LOG: MCSectinELF: Delete setSectionName declaration

Added: 
    

Modified: 
    llvm/include/llvm/MC/MCSectionELF.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/MC/MCSectionELF.h b/llvm/include/llvm/MC/MCSectionELF.h
index a01f95f44c954..64a4dafbed303 100644
--- a/llvm/include/llvm/MC/MCSectionELF.h
+++ b/llvm/include/llvm/MC/MCSectionELF.h
@@ -68,10 +68,6 @@ class MCSectionELF final : public MCSection {
       Group.getPointer()->setIsSignature();
   }
 
-  // TODO Delete after we stop supporting generation of GNU-style .zdebug_*
-  // sections.
-  void setSectionName(StringRef Name) { this->Name = Name; }
-
 public:
   /// Decides whether a '.section' directive should be printed before the
   /// section name


        


More information about the llvm-commits mailing list