brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 76606bd Raw
34 lines · plain
1# RUN: llvm-mc %s -filetype obj -triple x86_64-apple-darwin -o - \2# RUN: | llvm-dwarfdump -verify - \3# RUN: | FileCheck %s4 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 related9# 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.s12# test file in the same directory.13 14  .section  __TEXT,__text,regular,pure_instructions15  .file 1 "basic.c"16  .comm _i,4,2                  ## @i17  .comm _j,4,2                  ## @j18  .section  __DWARF,__debug_str,regular,debug19Linfo_string:20  .asciz  "Apple LLVM version 8.1.0 (clang-802.0.35)" ## string offset=021  .asciz  "basic.c"               ## string offset=4222  .asciz  "/Users/sgravani/Development/tests" ## string offset=5023  .asciz  "i"                     ## string offset=8424  .asciz  "int"                   ## string offset=8625  .asciz  "j"                     ## string offset=9026  27  .section  __DWARF,__debug_info,regular,debug28Lsection_info:29 30.subsections_via_symbols31  .section  __DWARF,__debug_line,regular,debug32Lsection_line:33Lline_table_start0:34