1LLVM-ADDR2LINE(1) LLVM LLVM-ADDR2LINE(1)
2
3
4
6 llvm-addr2line - a drop-in replacement for addr2line
7
9 llvm-addr2line [options]
10
12 llvm-addr2line is an alias for the llvm-symbolizer(1) tool with differ‐
13 ent defaults. The goal is to make it a drop-in replacement for GNU's
14 addr2line.
15
16 Here are some of those differences:
17
18 • llvm-addr2line interprets all addresses as hexadecimal and ignores an
19 optional 0x prefix, whereas llvm-symbolizer attempts to determine the
20 base from the literal's prefix and defaults to decimal if there is no
21 prefix.
22
23 • llvm-addr2line defaults not to print function names. Use -f to enable
24 that.
25
26 • llvm-addr2line defaults not to demangle function names. Use -C to
27 switch the demangling on.
28
29 • llvm-addr2line defaults not to print inlined frames. Use -i to show
30 inlined frames for a source code location in an inlined function.
31
32 • llvm-addr2line uses --output-style=GNU by default.
33
34 • llvm-addr2line parses options from the environment variable
35 LLVM_ADDR2LINE_OPTS instead of from LLVM_SYMBOLIZER_OPTS.
36
38 llvm-symbolizer(1)
39
41 Maintained by the LLVM Team (https://llvm.org/).
42
44 2003-2023, LLVM Project
45
46
47
48
4914 2023-07-20 LLVM-ADDR2LINE(1)