• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
19Linfo_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
28Lsection_info:
29
30.subsections_via_symbols
31  .section  __DWARF,__debug_line,regular,debug
32Lsection_line:
33Lline_table_start0:
34