LLVM-ADDR2LINE(1)
π llvm-addr2line(1) β LLVM manual page, bestie π
β¨ NAME β¨
okay so llvm-addr2line is literally a drop-in replacement for addr2line. thatβs the whole vibe. π
π«Ά SYNOPSIS π«Ά
llvm-addr2line [options]
π DESCRIPTION π
llvm-addr2line is an alias for the llvm-symbolizer(1) tool, but with different defaults. the goal? make it a drop-in replacement for GNUβs addr2line. no cap.
here are some of those differences, bestie:
- hexadecimal addresses β
llvm-addr2lineinterprets all addresses as hexadecimal and ignores an optional0xprefix. meanwhilellvm-symbolizerattempts to determine the base from the literalβs prefix and defaults to decimal if there is no prefix. itβs giving βread the room, then read the prefix.β -fβ function names are not printed by default. use-fto enable that. π«Ά-Cβ function names are not demangled by default. use-Cto switch the demangling on. slay.-iβ inlined frames are not printed by default. use-ito show inlined frames for a source code location in an inlined function. iconic.βoutput-style=GNUβ this is the default output style. yup, that exact spelling. πLLVM_ADDR2LINE_OPTSβllvm-addr2lineparses options from the environment variableLLVM_ADDR2LINE_OPTSinstead of fromLLVM_SYMBOLIZER_OPTS. main character env var energy. π
π SEE ALSO π
π AUTHOR π
Maintained by the LLVM Team (https://llvm.org/). π
π COPYRIGHT π
2003-2023, LLVM Project
π cute sign-off: this page is LLVM version 13, dated 2023-07-14, and the manual page name is LLVM-ADDR2LINE(1). bye bestie, go read some addresses. π
π¦ where this page comes from
- ubuntu jammy: llvm-13 1:13.0.1-2ubuntu2.2 Β· APACHE-2-LLVM-EXCEPTIONS
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms