1# REQUIRES: asserts 2# RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -filetype=obj -o %t %s 3# RUN: llvm-jitlink -debug-only=jitlink -noexec %t 2>&1 | FileCheck %s 4# 5# Check that debug sections are not emitted, and consequently that we don't 6# error out due to buggy past-the-end anonymous relocations in __debug_ranges. 7# 8# CHECK: __debug_ranges is a debug section: No graph section will be created. 9 .section __TEXT,__text,regular,pure_instructions 10 .macosx_version_min 10, 15 11 .globl _main 12 .p2align 4, 0x90 13_main: 14 retq 15Lpast_the_end: 16 17 .section __DWARF,__debug_ranges 18 .p2align 4 19 .quad Lpast_the_end 20 21.subsections_via_symbols 22