aboutsummaryrefslogtreecommitdiffstats
path: root/test/DebugInfo/X86/main-file-name.s
blob: 0369c6158a43278dbe010dfaa324fd7ac59fb794 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// RUN: llvm-mc -triple x86_64-unknown-linux-gnu -filetype obj -main-file-name foo.S -g -o %t %s
// RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s

// CHECK: DW_TAG_compile_unit [1]
// CHECK-NOT: DW_TAG_
// CHECK: DW_AT_name [DW_FORM_string]       ("foo.S")
        

# 1 "foo.S"
# 1 "<built-in>" 1
# 1 "foo.S" 2

foo:
  nop
  nop
  nop