symbolize-demangling.s 475 Bytes
# REQUIRES: x86-registered-target

# RUN: llvm-mc --filetype=obj --triple=x86_64-pc-linux %s -o %t.o -g

# RUN: llvm-symbolizer --obj=%t.o 0 1 2 | FileCheck %s

# CHECK:       f()
# CHECK-NEXT:  symbolize-demangling.s:20
# CHECK-EMPTY:
# CHECK-NEXT:  {{^g$}}
# CHECK-NEXT:  symbolize-demangling.s:22
# CHECK-EMPTY:
# CHECK-NEXT:  {{^baz$}}
# CHECK-NEXT:  symbolize-demangling.s:24

.type _Z1fv,@function
.type g,@function
.type baz,@function
_Z1fv:
  nop
g:
  nop
baz:
  nop