summaryrefslogtreecommitdiffstats
path: root/llvm/tools/dsymutil/DwarfStreamer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/dsymutil/DwarfStreamer.cpp')
-rw-r--r--llvm/tools/dsymutil/DwarfStreamer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/dsymutil/DwarfStreamer.cpp b/llvm/tools/dsymutil/DwarfStreamer.cpp
index 7a4628b38a4..5d0f7c1067c 100644
--- a/llvm/tools/dsymutil/DwarfStreamer.cpp
+++ b/llvm/tools/dsymutil/DwarfStreamer.cpp
@@ -260,7 +260,7 @@ void DwarfStreamer::emitAppleTypes(
/// Emit the swift_ast section stored in \p Buffers.
void DwarfStreamer::emitSwiftAST(StringRef Buffer) {
MCSection *SwiftASTSection = MOFI->getDwarfSwiftASTSection();
- SwiftASTSection->setAlignment(1 << 5);
+ SwiftASTSection->setAlignment(llvm::Align(32));
MS->SwitchSection(SwiftASTSection);
MS->EmitBytes(Buffer);
}
OpenPOWER on IntegriCloud