[PATCH] D133098: [MC] Fix typo in getSectionAddressSize comment. NFC
Sam Clegg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 1 01:25:51 PDT 2022
sbc100 created this revision.
Herald added a subscriber: wingo.
Herald added a project: All.
sbc100 requested review of this revision.
Herald added subscribers: llvm-commits, aheejin.
Herald added a project: LLVM.
The comment was refering to a now non-existant function that was removed
in 93e3cf0ebd9c95a8df42fff0aa38fc022422b4d4.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D133098
Files:
llvm/include/llvm/MC/MCAsmLayout.h
Index: llvm/include/llvm/MC/MCAsmLayout.h
===================================================================
--- llvm/include/llvm/MC/MCAsmLayout.h
+++ llvm/include/llvm/MC/MCAsmLayout.h
@@ -83,8 +83,8 @@
/// @{
/// Get the address space size of the given section, as it effects
- /// layout. This may differ from the size reported by \see getSectionSize() by
- /// not including section tail padding.
+ /// layout. This may differ 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133098.457197.patch
Type: text/x-patch
Size: 679 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220901/ba6be68f/attachment.bin>
More information about the llvm-commits
mailing list