]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/tools/llvm-dwarfdump/X86/no_apple_names_verify.s
Vendor import of llvm trunk r351319 (just before the release_80 branch
[FreeBSD/FreeBSD.git] / test / tools / llvm-dwarfdump / X86 / no_apple_names_verify.s
1 # RUN: llvm-mc %s -filetype obj -triple x86_64-apple-darwin -o - \
2 # RUN: | llvm-dwarfdump -verify - \
3 # RUN: | FileCheck %s
4
5 # CHECK-NOT: Verifying .apple_names...
6
7 # This test is meant to verify that the -verify option 
8 # in llvm-dwarfdump doesn't produce any .apple_names related
9 # output when there's no such section in the object.
10 # The test was manually modified to exclude the 
11 # .apple_names section from the apple_names_verify_num_atoms.s
12 # test file in the same directory.
13
14   .section  __TEXT,__text,regular,pure_instructions
15   .file 1 "basic.c"
16   .comm _i,4,2                  ## @i
17   .comm _j,4,2                  ## @j
18   .section  __DWARF,__debug_str,regular,debug
19 Linfo_string:
20   .asciz  "Apple LLVM version 8.1.0 (clang-802.0.35)" ## string offset=0
21   .asciz  "basic.c"               ## string offset=42
22   .asciz  "/Users/sgravani/Development/tests" ## string offset=50
23   .asciz  "i"                     ## string offset=84
24   .asciz  "int"                   ## string offset=86
25   .asciz  "j"                     ## string offset=90
26   
27   .section  __DWARF,__debug_info,regular,debug
28 Lsection_info:
29
30 .subsections_via_symbols
31   .section  __DWARF,__debug_line,regular,debug
32 Lsection_line:
33 Lline_table_start0: