Index: lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp =================================================================== --- lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp +++ lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp @@ -105,4 +105,5 @@ CommentString = ";"; PrivateGlobalPrefix = ".L"; PrivateLabelPrefix = ".L"; + AlignmentIsInBytes = false; } Index: test/MC/AArch64/jump-table.s =================================================================== --- test/MC/AArch64/jump-table.s +++ test/MC/AArch64/jump-table.s @@ -1,9 +1,9 @@ // RUN: llvm-mc < %s -triple=aarch64-none-linux-gnu -filetype=obj | llvm-readobj -r | FileCheck %s +// RUN: llvm-mc < %s -triple=aarch64-windows-gnu .file "" .text .globl test_jumptable - .type test_jumptable,@function test_jumptable: // @test_jumptable .cfi_startproc // BB#0: @@ -31,9 +31,8 @@ movz x0, #8 ret .Ltmp0: - .size test_jumptable, .Ltmp0-test_jumptable .cfi_endproc - .section .rodata,"a",@progbits + .section .rodata .align 3 .LJTI0_0: .xword .LBB0_2