Add a triple to test/DebugInfo/unconditional-branch.ll (PR23252)
[oota-llvm.git] / test / DebugInfo / X86 / main-file-name.s
1 // RUN: llvm-mc -triple x86_64-unknown-linux-gnu -filetype obj -main-file-name foo.S -g -o %t %s
2 // RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s
3
4 // CHECK: DW_TAG_compile_unit [1]
5 // CHECK-NOT: DW_TAG_
6 // CHECK: DW_AT_name [DW_FORM_string]       ("foo.S")
7         
8
9 # 1 "foo.S"
10 # 1 "<built-in>" 1
11 # 1 "foo.S" 2
12
13 foo:
14   nop
15   nop
16   nop
17