Revert r354244 "[DAGCombiner] Eliminate dead stores to stack."
[llvm-complete.git] / test / tools / llvm-symbolizer / demangle.s
blob744e78eb8aa1f52fe96e8ed00e3178aeb5a4d950
1 # REQUIRES: x86-registered-target
3 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o -g
5 .type _Z1cv,@function
6 _Z1cv:
7 nop
9 # Check the default is to demangle and that the last of --demangle and
10 # --no-demangle wins.
11 # RUN: llvm-symbolizer --obj %t.o 0 \
12 # RUN: | FileCheck %s --check-prefix=DEMANGLED_FUNCTION_NAME
13 # RUN: llvm-symbolizer --demangle --obj %t.o 0 \
14 # RUN: | FileCheck %s --check-prefix=DEMANGLED_FUNCTION_NAME
15 # RUN: llvm-symbolizer -C --obj %t.o 0 \
16 # RUN: | FileCheck %s --check-prefix=DEMANGLED_FUNCTION_NAME
17 # RUN: llvm-symbolizer --no-demangle --obj %t.o 0 \
18 # RUN: | FileCheck %s --check-prefix=MANGLED_FUNCTION_NAME
19 # RUN: llvm-symbolizer --demangle --no-demangle --obj %t.o 0 \
20 # RUN: | FileCheck %s --check-prefix=MANGLED_FUNCTION_NAME
21 # RUN: llvm-symbolizer -C --no-demangle --obj %t.o 0 \
22 # RUN: | FileCheck %s --check-prefix=MANGLED_FUNCTION_NAME
23 # RUN: llvm-symbolizer --no-demangle --demangle --obj %t.o 0 \
24 # RUN: | FileCheck %s --check-prefix=DEMANGLED_FUNCTION_NAME
25 # RUN: llvm-symbolizer --no-demangle -C --obj %t.o 0 \
26 # RUN: | FileCheck %s --check-prefix=DEMANGLED_FUNCTION_NAME
28 # MANGLED_FUNCTION_NAME: _Z1cv
29 # DEMANGLED_FUNCTION_NAME: c()