aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCStreamer.cpp
diff options
context:
space:
mode:
authorGuillaume Chatelet <gchatelet@google.com>2022-12-07 16:47:48 +0000
committerGuillaume Chatelet <gchatelet@google.com>2022-12-08 09:02:28 +0000
commitb94bd9c20a39758f7733cd4e7d493fe51200932c (patch)
tree251e13d8bfc1cb8cb4e7e3f2a4d21a063a88f46d /llvm/lib/MC/MCStreamer.cpp
parentc9cb4fc761cd78d3a04feb211d363e91933a8e08 (diff)
downloadllvm-b94bd9c20a39758f7733cd4e7d493fe51200932c.zip
llvm-b94bd9c20a39758f7733cd4e7d493fe51200932c.tar.gz
llvm-b94bd9c20a39758f7733cd4e7d493fe51200932c.tar.bz2
[Alignment] Use Align in MCStreamer::emitTBSSSymbol
In the same vein as D139439, the patch is not NFC as there is no way to check all downstream implementations but the patch seems pretty safe. Differential Revision: https://reviews.llvm.org/D139548
Diffstat (limited to 'llvm/lib/MC/MCStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCStreamer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCStreamer.cpp b/llvm/lib/MC/MCStreamer.cpp
index c87b841..edda4f8 100644
--- a/llvm/lib/MC/MCStreamer.cpp
+++ b/llvm/lib/MC/MCStreamer.cpp
@@ -1204,7 +1204,7 @@ void MCStreamer::emitELFSymverDirective(const MCSymbol *OriginalSym,
void MCStreamer::emitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
Align ByteAlignment) {}
void MCStreamer::emitTBSSSymbol(MCSection *Section, MCSymbol *Symbol,
- uint64_t Size, unsigned ByteAlignment) {}
+ uint64_t Size, Align ByteAlignment) {}
void MCStreamer::changeSection(MCSection *, const MCExpr *) {}
void MCStreamer::emitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol) {}
void MCStreamer::emitBytes(StringRef Data) {}