[llvm] 489d22f - [NFC] Simplify documentation about alignment in MCStreamer
Guillaume Chatelet via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 8 06:33:37 PST 2022
Author: Guillaume Chatelet
Date: 2022-12-08T14:33:20Z
New Revision: 489d22f18c7865800abbda6720343b8b67d9fc54
URL: https://github.com/llvm/llvm-project/commit/489d22f18c7865800abbda6720343b8b67d9fc54
DIFF: https://github.com/llvm/llvm-project/commit/489d22f18c7865800abbda6720343b8b67d9fc54.diff
LOG: [NFC] Simplify documentation about alignment in MCStreamer
Added:
Modified:
llvm/include/llvm/MC/MCStreamer.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/MC/MCStreamer.h b/llvm/include/llvm/MC/MCStreamer.h
index 1df6dd623a746..ff13cae1e7551 100644
--- a/llvm/include/llvm/MC/MCStreamer.h
+++ b/llvm/include/llvm/MC/MCStreamer.h
@@ -685,8 +685,7 @@ class MCStreamer {
/// \param Section - The zerofill section to create and or to put the symbol
/// \param Symbol - The zerofill symbol to emit, if non-NULL.
/// \param Size - The size of the zerofill symbol.
- /// \param ByteAlignment - The alignment of the zerofill symbol if
- /// non-zero. This must be a power of 2 on some targets.
+ /// \param ByteAlignment - The alignment of the zerofill symbol.
virtual void emitZerofill(MCSection *Section, MCSymbol *Symbol = nullptr,
uint64_t Size = 0, Align ByteAlignment = Align(1),
SMLoc Loc = SMLoc()) = 0;
@@ -696,8 +695,7 @@ class MCStreamer {
/// \param Section - The thread local common section.
/// \param Symbol - The thread local common symbol to emit.
/// \param Size - The size of the symbol.
- /// \param ByteAlignment - The alignment of the thread local common symbol
- /// if non-zero. This must be a power of 2 on some targets.
+ /// \param ByteAlignment - The alignment of the thread local common symbol.
virtual void emitTBSSSymbol(MCSection *Section, MCSymbol *Symbol,
uint64_t Size, Align ByteAlignment = Align(1));
More information about the llvm-commits
mailing list