mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[AArch64, COFF] Interpret .align as power of two for COFF as well
Differential Revision: https://reviews.llvm.org/D35545 llvm-svn: 308517
This commit is contained in:
parent
03029419be
commit
907c7d040f
@ -105,4 +105,5 @@ AArch64MCAsmInfoCOFF::AArch64MCAsmInfoCOFF() {
|
||||
CommentString = ";";
|
||||
PrivateGlobalPrefix = ".L";
|
||||
PrivateLabelPrefix = ".L";
|
||||
AlignmentIsInBytes = false;
|
||||
}
|
||||
|
7
test/MC/AArch64/coff-align.s
Normal file
7
test/MC/AArch64/coff-align.s
Normal file
@ -0,0 +1,7 @@
|
||||
// RUN: llvm-mc -filetype=obj -triple aarch64-windows-gnu %s | llvm-readobj -s -sd | FileCheck %s
|
||||
.text
|
||||
.align 5
|
||||
f0:
|
||||
ret
|
||||
|
||||
// CHECK: IMAGE_SCN_ALIGN_32BYTES
|
Loading…
x
Reference in New Issue
Block a user