[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / tools / llvm-symbolizer / demangle.s
blob14156bf498d85f8e5af3783b31b92ef50e7afeaa
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 # Check that for llvm-addr2line the default is not to demangle.
29 # RUN: llvm-addr2line -fe %t.o 0 \
30 # RUN: | FileCheck %s --check-prefix=MANGLED_FUNCTION_NAME
31 # RUN: llvm-addr2line -fCe %t.o 0 \
32 # RUN: | FileCheck %s --check-prefix=DEMANGLED_FUNCTION_NAME
34 # MANGLED_FUNCTION_NAME: _Z1cv
35 # DEMANGLED_FUNCTION_NAME: c()