1 # RUN: llvm-mc -triple i686-windows-gnu -filetype obj -o - %s \
2 # RUN: | llvm-readobj -coff-directives -symbols | FileCheck %s
4 # NOTE: this test checks multiple things:
5 # - that -aligncomm is not emitted for 1-byte alignment
6 # - that -aligncomm is emitted for the various alignments (greater than 1)
7 # - that the alignment is represented as a log_2 of the alignment
8 # - that the section switching occurs correctly
9 # - that functions after the switch also are emitted into the correct section
36 # CHECK-NOT: -aligncomm:"_s_1",0
41 # CHECK: Section: .text (1)
45 # CHECK: Section: .text (1)
49 # CHECK: Directive(s): -aligncomm:"_s_2",1 -aligncomm:"_s_4",2 -aligncomm:"_s_8",3