diff options
author | Guillaume Chatelet <gchatelet@google.com> | 2019-09-13 09:29:59 +0000 |
---|---|---|
committer | Guillaume Chatelet <gchatelet@google.com> | 2019-09-13 09:29:59 +0000 |
commit | 36202635323be0f6436c8d5fed1f5cb03808dbb7 (patch) | |
tree | e5c92d30e09334dddfc647ddf947d6ae175811f3 /llvm/tools/dsymutil/DwarfStreamer.cpp | |
parent | 7da559f2f60ef69a0098487ea25e0d81fdccc2f2 (diff) | |
download | bcm5719-llvm-36202635323be0f6436c8d5fed1f5cb03808dbb7.tar.gz bcm5719-llvm-36202635323be0f6436c8d5fed1f5cb03808dbb7.zip |
[Alignment] Introduce llvm::Align to MCSection
Summary:
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet, JDevlieghere
Subscribers: arsenm, sdardis, jvesely, nhaehnle, sbc100, hiraditya, aheejin, jrtc27, atanasyan, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67486
llvm-svn: 371831
Diffstat (limited to 'llvm/tools/dsymutil/DwarfStreamer.cpp')
-rw-r--r-- | llvm/tools/dsymutil/DwarfStreamer.cpp | 2 |
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); } |