aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCELFStreamer.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/MCELFStreamer.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/MCELFStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCELFStreamer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCELFStreamer.cpp b/llvm/lib/MC/MCELFStreamer.cpp
index 71d556a..f01ba98 100644
--- a/llvm/lib/MC/MCELFStreamer.cpp
+++ b/llvm/lib/MC/MCELFStreamer.cpp
@@ -733,7 +733,7 @@ void MCELFStreamer::emitZerofill(MCSection *Section, MCSymbol *Symbol,
}
void MCELFStreamer::emitTBSSSymbol(MCSection *Section, MCSymbol *Symbol,
- uint64_t Size, unsigned ByteAlignment) {
+ uint64_t Size, Align ByteAlignment) {
llvm_unreachable("ELF doesn't support this directive");
}