Index: llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp =================================================================== --- llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp +++ llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp @@ -105,4 +105,5 @@ CommentString = ";"; PrivateGlobalPrefix = ".L"; PrivateLabelPrefix = ".L"; + AlignmentIsInBytes = false; } Index: llvm/trunk/test/MC/AArch64/coff-align.s =================================================================== --- llvm/trunk/test/MC/AArch64/coff-align.s +++ llvm/trunk/test/MC/AArch64/coff-align.s @@ -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