1 ; RUN: llc -mtriple=x86_64-linux-gnu -filetype=asm < %s | FileCheck %s --check-prefix=DIRECTIVE
2 ; RUN: llc -mtriple=x86_64-linux-gnu -filetype=obj < %s | llvm-readobj --symbols - | FileCheck %s --check-prefix=STT-FILE
4 ; DIRECTIVE: .file "foobar"
5 ; STT-FILE: Name: foobar
6 ; STT-FILE-NEXT: Value: 0x0
7 ; STT-FILE-NEXT: Size: 0
8 ; STT-FILE-NEXT: Binding: Local
9 ; STT-FILE-NEXT: Type: File
10 ; STT-FILE-NEXT: Other: 0
11 ; STT-FILE-NEXT: Section: Absolute
13 source_filename = "/path/to/foobar"