1# REQUIRES: x86-registered-target
2
3# RUN: llvm-mc --filetype=obj --triple=x86_64-pc-linux %s -o %t.o -g
4
5# RUN: llvm-symbolizer --obj=%t.o 0 1 2 | FileCheck %s
6
7# CHECK:       f()
8# CHECK-NEXT:  symbolize-demangling.s:20
9# CHECK-EMPTY:
10# CHECK-NEXT:  {{^g$}}
11# CHECK-NEXT:  symbolize-demangling.s:22
12# CHECK-EMPTY:
13# CHECK-NEXT:  {{^baz$}}
14# CHECK-NEXT:  symbolize-demangling.s:24
15
16.type _Z1fv,@function
17.type g,@function
18.type baz,@function
19_Z1fv:
20  nop
21g:
22  nop
23baz:
24  nop
25