1LLVM-ADDR2LINE(1)                    LLVM                    LLVM-ADDR2LINE(1)
2
3
4

NAME

6       llvm-addr2line - a drop-in replacement for addr2line
7

SYNOPSIS

9       llvm-addr2line [options]
10

DESCRIPTION

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
18llvm-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
23llvm-addr2line defaults not to print function names. Use -f to enable
24         that.
25
26llvm-addr2line  defaults  not  to  demangle function names. Use -C to
27         switch the demangling on.
28
29llvm-addr2line defaults not to print inlined frames. Use -i  to  show
30         inlined frames for a source code location in an inlined function.
31
32llvm-addr2line uses --output-style=GNU by default.
33
34llvm-addr2line   parses   options   from   the  environment  variable
35         LLVM_ADDR2LINE_OPTS instead of from LLVM_SYMBOLIZER_OPTS.
36

SEE ALSO

38       llvm-symbolizer(1)
39

AUTHOR

41       Maintained by the LLVM Team (https://llvm.org/).
42
44       2003-2023, LLVM Project
45
46
47
48
4912                                2023-07-20                 LLVM-ADDR2LINE(1)
Impressum