1# REQUIRES: x86-registered-target
2
3.type foo,@function
4foo:
5    nop
6
7# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o "%t space.o" -g
8
9# Test both passing via stdin and via --obj.
10# RUN: echo "\"%t space.o\" 0" > %t.input
11# RUN: llvm-symbolizer < %t.input | FileCheck %s
12# RUN: llvm-symbolizer --obj="%t space.o" 0 | FileCheck %s
13
14# CHECK: foo
15# CHECK-NEXT: space-in-path.s:5
16