23 lines · plain
1# The assembly below does NOT include the usual .subsections_via_symbols2# directive. Check that when the directive is absent we only create one block3# to cover the whole data section.4#5# REQUIRES: asserts6# RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -filetype=obj -o %t %s7# RUN: llvm-jitlink -num-threads=0 -debug-only=jitlink -noexec %t 2>&1 \8# RUN: | FileCheck %s9 10# CHECK: Creating graph symbols...11# CHECK: Graphifying regular section __DATA,__data...12# CHECK-NEXT: Creating block {{.*}} with 2 symbol(s)...13# CHECK-NEXT: 0x0000000000000004 -- 0x0000000000000008: _b14# CHECK-NEXT: 0x0000000000000000 -- 0x0000000000000008: _main15 16 .section __DATA,__data17 .p2align 218 .globl _main19_main:20 .long 121_b:22 .long 223