Home
last modified time | relevance | path

Searched refs:symbolizer (Results 1 – 25 of 192) sorted by relevance

12345678

/external/llvm-project/llvm/test/tools/llvm-symbolizer/
Dbasic.s11 # RUN: echo -e "0xa\n0xb" | llvm-symbolizer --obj=%t.o | FileCheck %s
12 # RUN: echo -e "10\n11" | llvm-symbolizer --obj=%t.o | FileCheck %s
15 # RUN: llvm-symbolizer 0xa 0xb --obj=%t.o | FileCheck %s
16 # RUN: llvm-symbolizer 10 11 --obj=%t.o | FileCheck %s
19 # RUN: llvm-symbolizer 0xa 0xb --exe=%t.o | FileCheck %s
20 # RUN: llvm-symbolizer 0xa 0xb --exe %t.o | FileCheck %s
21 # RUN: llvm-symbolizer 0xa 0xb -e %t.o | FileCheck %s
22 # RUN: llvm-symbolizer 0xa 0xb -e=%t.o | FileCheck %s
23 # RUN: llvm-symbolizer 0xa 0xb -e%t.o | FileCheck %s
Ddemangle.s11 # RUN: llvm-symbolizer --obj %t.o 0 \
13 # RUN: llvm-symbolizer --demangle --obj %t.o 0 \
15 # RUN: llvm-symbolizer -C --obj %t.o 0 \
17 # RUN: llvm-symbolizer --no-demangle --obj %t.o 0 \
19 # RUN: llvm-symbolizer --demangle --no-demangle --obj %t.o 0 \
21 # RUN: llvm-symbolizer -C --no-demangle --obj %t.o 0 \
23 # RUN: llvm-symbolizer --no-demangle --demangle --obj %t.o 0 \
25 # RUN: llvm-symbolizer --no-demangle -C --obj %t.o 0 \
35 # RUN: llvm-symbolizer -demangle=false --obj %t.o 0 \
37 # RUN: llvm-symbolizer -demangle=true --obj %t.o 0 \
Dinput-base.test1 # llvm-symbolizer infers the number base from the form of the address.
2 RUN: llvm-symbolizer -e /dev/null -a 0x1234 | FileCheck %s
3 RUN: llvm-symbolizer -e /dev/null -a 0X1234 | FileCheck %s
4 RUN: llvm-symbolizer -e /dev/null -a 4660 | FileCheck %s
5 RUN: llvm-symbolizer -e /dev/null -a 011064 | FileCheck %s
6 RUN: llvm-symbolizer -e /dev/null -a 0b1001000110100 | FileCheck %s
7 RUN: llvm-symbolizer -e /dev/null -a 0B1001000110100 | FileCheck %s
8 RUN: llvm-symbolizer -e /dev/null -a 0o11064 | FileCheck %s
10 # llvm-symbolizer / StringRef::getAsInteger only accepts the 0o prefix in lowercase.
11 RUN: llvm-symbolizer -e /dev/null -a 0O1234 | FileCheck %s --check-prefix=INVALID-NOT-OCTAL-UPPER
Dfunctions.s5 # RUN: llvm-symbolizer 0 --obj=%t.o | FileCheck %s --check-prefix=LINKAGE
6 # RUN: llvm-symbolizer 0 -f --obj=%t.o | FileCheck %s --check-prefix=LINKAGE
7 # RUN: llvm-symbolizer 0 --functions --obj=%t.o | FileCheck %s --check-prefix=LINKAGE
8 # RUN: llvm-symbolizer 0 -f=linkage --obj=%t.o | FileCheck %s --check-prefix=LINKAGE
9 # RUN: llvm-symbolizer 0 --functions=linkage --obj=%t.o | FileCheck %s --check-prefix=LINKAGE
10 # RUN: llvm-symbolizer 0 -f=short --obj=%t.o | FileCheck %s --check-prefix=SHORT
11 # RUN: llvm-symbolizer 0 --functions=short --obj=%t.o | FileCheck %s --check-prefix=SHORT
12 # RUN: llvm-symbolizer 0 -f=none --obj=%t.o | FileCheck %s --check-prefix=NONE
13 # RUN: llvm-symbolizer 0 --functions=none --obj=%t.o | FileCheck %s --check-prefix=NONE
15 ## Characterise behaviour for no '=' sign. llvm-symbolizer treats the next option as an
[all …]
Dfat.test1 RUN: llvm-symbolizer 0 -obj=%p/Inputs/fat.o -default-arch=x86_64 | FileCheck --check-prefix=X86_64 …
2 RUN: llvm-symbolizer 0 -obj=%p/Inputs/fat.o -default-arch=x86_64h | FileCheck --check-prefix=X86_64…
3 RUN: llvm-symbolizer 0 -obj=%p/Inputs/fat.o -default-arch=armv7 | FileCheck --check-prefix=ARMV7 %s
4 RUN: llvm-symbolizer 0 -obj=%p/Inputs/fat.o -default-arch=armv7em | FileCheck --check-prefix=ARMV7E…
5 RUN: llvm-symbolizer 0 -obj=%p/Inputs/fat.o -default-arch=armv7m | FileCheck --check-prefix=ARMV7M …
Dhelp.test1 RUN: llvm-symbolizer -h | FileCheck %s --check-prefix=SYMBOLIZER
2 RUN: llvm-symbolizer --help | FileCheck %s --check-prefix=SYMBOLIZER
6 SYMBOLIZER: OVERVIEW: llvm-symbolizer
7 SYMBOLIZER: USAGE: llvm-symbolizer{{(.exe)?}} [options] addresses...
Dsym.test20 RUN: llvm-symbolizer -print-address -obj=%p/Inputs/addr.exe < %p/Inputs/addr.inp | FileCheck %s
21 RUN: llvm-symbolizer -addresses -obj=%p/Inputs/addr.exe < %p/Inputs/addr.inp | FileCheck %s
22 RUN: llvm-symbolizer -a -obj=%p/Inputs/addr.exe < %p/Inputs/addr.inp | FileCheck %s
23 RUN: llvm-symbolizer -inlining -print-address -pretty-print -obj=%p/Inputs/addr.exe < %p/Inputs/add…
24 RUN: llvm-symbolizer -inlining -print-address -p -obj=%p/Inputs/addr.exe < %p/Inputs/addr.inp | Fil…
25 RUN: llvm-symbolizer -inlines -print-address -pretty-print -obj=%p/Inputs/addr.exe < %p/Inputs/addr…
26 RUN: llvm-symbolizer -inlines -print-address -p -obj=%p/Inputs/addr.exe < %p/Inputs/addr.inp | File…
27 RUN: llvm-symbolizer -i -print-address -pretty-print -obj=%p/Inputs/addr.exe < %p/Inputs/addr.inp |…
28 RUN: llvm-symbolizer -i -print-address -p -obj=%p/Inputs/addr.exe < %p/Inputs/addr.inp | FileCheck …
31 RUN: llvm-symbolizer --inlining=true --print-address -p --obj=%p/Inputs/addr.exe < %p/Inputs/addr.i…
[all …]
Dflag-grouping.test1 RUN: llvm-symbolizer -apCi -obj=%p/Inputs/addr.exe < %p/Inputs/addr.inp | FileCheck %s
2 RUN: llvm-symbolizer -apCie %p/Inputs/addr.exe < %p/Inputs/addr.inp | FileCheck %s
3 RUN: llvm-symbolizer -apCie=%p/Inputs/addr.exe < %p/Inputs/addr.inp | FileCheck %s
4 RUN: llvm-symbolizer -apCie%p/Inputs/addr.exe < %p/Inputs/addr.inp | FileCheck %s
Drelativenames.s3 ## Test that the relative names option to llvm-symbolizer works properly.
4 ## See llvm/docs/CommandGuide/llvm-symbolizer.rst for commands
9 # RUN: llvm-symbolizer 0 --relativenames --obj=%t.o \
13 # RUN: llvm-symbolizer 0 --obj=%t.o \
17 # RUN: llvm-symbolizer 0 --basenames --relativenames --obj=%t.o \
19 # RUN: llvm-symbolizer 0 --relativenames --basenames --obj=%t.o \
26 ## Provide just enough info in debug info for the symbolizer
Dinvalid-input-address.test1 # Use address that can't fit in a 64-bit number. Show that llvm-symbolizer
3 RUN: llvm-symbolizer --obj=addr.exe 0x10000000000000000 | FileCheck --check-prefix=LARGE-ADDR %s
13 RUN: llvm-symbolizer --obj=%p/Inputs/addr.exe < %t.inp | FileCheck --check-prefix=BAD-INPUT %s
14 RUN: llvm-symbolizer --obj=%p/Inputs/addr.exe "some text" "some text2" | FileCheck --check-prefix=B…
15 RUN: llvm-symbolizer --obj=%p/Inputs/addr.exe @%t.rsp | FileCheck --check-prefix=BAD-INPUT %s
/external/llvm-project/llvm/docs/CommandGuide/
Dllvm-addr2line.rst14 :program:`llvm-addr2line` is an alias for the :manpage:`llvm-symbolizer(1)`
21 optional ``0x`` prefix, whereas ``llvm-symbolizer`` attempts to determine
42 :manpage:`llvm-symbolizer(1)`
44 .. _-f: llvm-symbolizer.html#llvm-symbolizer-opt-f
45 .. _-C: llvm-symbolizer.html#llvm-symbolizer-opt-c
46 .. _-i: llvm-symbolizer.html#llvm-symbolizer-opt-i
47 .. _--output-style=GNU: llvm-symbolizer.html#llvm-symbolizer-opt-output-style
Dllvm-symbolizer.rst1 llvm-symbolizer - convert addresses into source code locations
4 .. program:: llvm-symbolizer
9 :program:`llvm-symbolizer` [*options*] [*addresses...*]
14 :program:`llvm-symbolizer` reads object file names and addresses from the
31 :program:`llvm-symbolizer` parses options from the environment variable
34 options when :program:`llvm-symbolizer` is invoked by another program or
81 $ llvm-symbolizer --obj=test.elf 0x4004d0 0x400490
96 $ llvm-symbolizer --obj=test.elf < addr.txt
110 $ llvm-symbolizer "test.elf 0x400490" "inlined.elf 0x400480"
121 $ llvm-symbolizer < addr2.txt
[all …]
/external/llvm-project/llvm/utils/gn/secondary/llvm/tools/llvm-symbolizer/
DBUILD.gn6 visibility = [ ":llvm-symbolizer" ]
16 deps = [ ":llvm-symbolizer" ]
17 source = "llvm-symbolizer"
22 # //:llvm-symbolizer depends on this symlink target, see comment in //BUILD.gn.
30 executable("llvm-symbolizer") {
41 sources = [ "llvm-symbolizer.cpp" ]
/external/llvm-project/llvm/test/DebugInfo/
Dsymbolize-stripped-sections.test1 RUN: llvm-symbolizer --obj=%p/Inputs/llvm-symbolizer-test.elf-x86-64 0x401140 \
4 RUN: llvm-objcopy --strip-sections %p/Inputs/llvm-symbolizer-test.elf-x86-64 %t.elf
5 RUN: llvm-symbolizer --obj=%t.elf 0x401140 | FileCheck %s --check-prefix=STRIPPED
8 UNSTRIPPED-NEXT: llvm-symbolizer-test.c:10:0
Dsymbolize-no-debug-str.test1 RUN: llvm-objcopy -R .debug_str %p/Inputs/llvm-symbolizer-test.elf-x86-64 %t.elf
2 RUN: llvm-symbolizer --functions=linkage --obj=%t.elf 0x401140 | FileCheck %s --check-prefix=LINKAGE
3 RUN: llvm-symbolizer --functions=short --obj=%t.elf 0x401140 | FileCheck %s --check-prefix=SHORT
6 LINKAGE-NEXT: {{^}}llvm-symbolizer-test.c:10:0
9 SHORT-NEXT: {{^}}llvm-symbolizer-test.c:10:0
/external/llvm/test/tools/llvm-symbolizer/
Dfat.test1 RUN: echo 0 | llvm-symbolizer -obj=%p/Inputs/fat.o -default-arch=x86_64 | FileCheck --check-prefix=…
2 RUN: echo 0 | llvm-symbolizer -obj=%p/Inputs/fat.o -default-arch=x86_64h | FileCheck --check-prefix…
3 RUN: echo 0 | llvm-symbolizer -obj=%p/Inputs/fat.o -default-arch=armv7 | FileCheck --check-prefix=A…
4 RUN: echo 0 | llvm-symbolizer -obj=%p/Inputs/fat.o -default-arch=thumbv7em | FileCheck --check-pref…
5 RUN: echo 0 | llvm-symbolizer -obj=%p/Inputs/fat.o -default-arch=thumbv7m | FileCheck --check-prefi…
/external/llvm-project/llvm/tools/llvm-symbolizer/
DCMakeLists.txt1 # FIXME: As we plan to execute llvm-symbolizer binary from compiler-rt
20 add_llvm_tool(llvm-symbolizer
21 llvm-symbolizer.cpp
26 add_llvm_tool_symlink(llvm-addr2line llvm-symbolizer)
29 add_llvm_tool_symlink(addr2line llvm-symbolizer)
/external/llvm-project/mlir/test/Unit/
Dlit.cfg.py40 for symbolizer in ['ASAN_SYMBOLIZER_PATH', 'MSAN_SYMBOLIZER_PATH']:
41 if symbolizer in os.environ:
42 config.environment[symbolizer] = os.environ[symbolizer]
/external/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/scripts/
Dbuild_symbolizer.sh64 BUILD_DIR=$(readlink -f ./symbolizer)
85 SYMBOLIZER_BUILD=${BUILD_DIR}/symbolizer
155 $AR rc symbolizer.a sanitizer_symbolize.o sanitizer_wrappers.o
174 symbolizer.a \
179 $CC $FLAGS -fno-lto -c opt.bc -o symbolizer.o
182 nm -f posix -g symbolizer.o | cut -f 1,2 -d \ | LC_COLLATE=C sort -u > undefined.new
190 SYMBOLIZER_FORMAT=$(arch symbolizer.o)
199 $AR rcs $A symbolizer.o
/external/llvm/docs/CommandGuide/
Dllvm-symbolizer.rst1 llvm-symbolizer - convert addresses into source code locations
7 :program:`llvm-symbolizer` [options]
12 :program:`llvm-symbolizer` reads object file names and addresses from standard
14 If object file is specified in command line, :program:`llvm-symbolizer`
29 $ llvm-symbolizer < addr.txt
53 $ llvm-symbolizer -obj=a.out < addr2.txt
61 $llvm-symbolizer -inlining -print-address -pretty-print -obj=addr.exe < addr.txt
64 $llvm-symbolizer -inlining -pretty-print -obj=addr.exe < addr.txt
121 :program:`llvm-symbolizer` returns 0. Other exit codes imply internal program error.
/external/llvm-project/llvm/test/Unit/
Dlit.cfg.py40 for symbolizer in ['ASAN_SYMBOLIZER_PATH', 'MSAN_SYMBOLIZER_PATH']:
41 if symbolizer in os.environ:
42 config.environment[symbolizer] = os.environ[symbolizer]
/external/llvm-project/clang/test/Unit/
Dlit.cfg.py34 for symbolizer in ['ASAN_SYMBOLIZER_PATH', 'MSAN_SYMBOLIZER_PATH']:
35 if symbolizer in os.environ:
36 config.environment[symbolizer] = os.environ[symbolizer]
/external/perfetto/src/profiling/symbolizer/
DBUILD.gn18 source_set("symbolizer") {
33 "symbolizer.cc",
34 "symbolizer.h",
40 ":symbolizer",
59 ":symbolizer",
/external/llvm/test/DebugInfo/
Dllvm-symbolizer.test19 RUN: echo "%p/Inputs/llvm-symbolizer-dwo-test 0x400514" >> %t.input
27 RUN: llvm-symbolizer --functions=linkage --inlining --demangle=false \
34 RUN: llvm-symbolizer --functions=linkage --inlining --demangle=false \
42 RUN: llvm-symbolizer --functions=linkage --inlining --demangle=false \
112 CHECK-NEXT: llvm-symbolizer-dwo-test.cc:11
129 ; func has been inlined into main by LTO. Check that the symbolizer is able
137 RUN: llvm-symbolizer < %t.input2 2>&1 | FileCheck %s --check-prefix=MISSING-FILE
142 RUN: llvm-symbolizer < %t.input3 | FileCheck %s --check-prefix=UNKNOWN-ARCH
150 RUN: llvm-symbolizer --obj %p/Inputs/dwarfdump-test.elf-x86-64 < %t.input4 \
160 RUN: llvm-symbolizer --obj %p/Inputs/llvm-symbolizer-test.elf-x86-64 < %t.input5 \
[all …]
/external/llvm-project/polly/test/Unit/
Dlit.cfg35 # Propagate path to symbolizer for ASan/MSan.
36 for symbolizer in ['ASAN_SYMBOLIZER_PATH', 'MSAN_SYMBOLIZER_PATH']:
37 if symbolizer in os.environ:
38 config.environment[symbolizer] = os.environ[symbolizer]

12345678