[llvm] 8273ca1 - [MC] Fix typo in getSectionAddressSize comment. NFC

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 14 15:16:03 PDT 2022


Author: Sam Clegg
Date: 2022-09-14T15:15:41-07:00
New Revision: 8273ca1421a6144286698a61b41cd8901c131850

URL: https://github.com/llvm/llvm-project/commit/8273ca1421a6144286698a61b41cd8901c131850
DIFF: https://github.com/llvm/llvm-project/commit/8273ca1421a6144286698a61b41cd8901c131850.diff

LOG: [MC] Fix typo in getSectionAddressSize comment. NFC

The comment was refering to a now non-existant function that was removed
in 93e3cf0ebd9c95a8df42fff0aa38fc022422b4d4.

Differential Revision: https://reviews.llvm.org/D133098

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/MC/MCAsmLayout.h b/llvm/include/llvm/MC/MCAsmLayout.h
index f95af210a28f3..94cfb76bdce4d 100644
--- a/llvm/include/llvm/MC/MCAsmLayout.h
+++ b/llvm/include/llvm/MC/MCAsmLayout.h
@@ -83,8 +83,8 @@ class MCAsmLayout {
   /// @{
 
   /// Get the address space size of the given section, as it effects
-  /// layout. This may 
diff er from the size reported by \see getSectionSize() by
-  /// not including section tail padding.
+  /// layout. This may 
diff er from the size reported by \see
+  /// getSectionFileSize() by not including section tail padding.
   uint64_t getSectionAddressSize(const MCSection *Sec) const;
 
   /// Get the data size of the given section, as emitted to the object


        


More information about the llvm-commits mailing list