LLVM-ADDR2LINE(1)

okay so bestie, welcome to the LLVM-ADDR2LINE(1) manual page โ€” it's the LLVM page for a tool that's literally a drop-in replacement for addr2line, and it's giving "I speak both languages" energy. ngl, it ate. ๐Ÿ’…

๐Ÿ’– NAME ๐Ÿ’–

llvm-addr2line โ€” a drop-in replacement for addr2line. periodt.

โœจ SYNOPSIS โœจ

llvm-addr2line [options]

๐ŸŒธ DESCRIPTION ๐ŸŒธ

okay so llvm-addr2line is an alias for the llvm-symbolizer(1) tool (<llvm-symbolizer.html>) with different defaults. The whole goal is highkey to make it a drop-in replacement for GNU's addr2line. no cap. ๐Ÿซถ

Here are some of those differences, and bestie, they are lowkey important:

  • llvm-addr2line interprets all addresses as hexadecimal and ignores an optional 0x prefix, whereas llvm-symbolizer attempts to determine the base from the literal's prefix and defaults to decimal if there is no prefix. ๐Ÿ”ฅ
  • llvm-addr2line defaults not to print function names. Use -f to enable that (llvm-symbolizer.html#llvm-symbolizer-opt-f).
  • llvm-addr2line defaults not to demangle function names. Use -C to switch the demangling on (llvm-symbolizer.html#llvm-symbolizer-opt-c).
  • llvm-addr2line defaults not to print inlined frames. Use -i to show inlined frames for a source code location in an inlined function (llvm-symbolizer.html#llvm-symbolizer-opt-i).
  • llvm-addr2line uses --output-style=GNU by default (llvm-symbolizer.html#llvm-symbolizer-opt-output-style).
  • llvm-addr2line parses options from the environment variable LLVM_ADDR2LINE_OPTS instead of from LLVM_SYMBOLIZER_OPTS. ๐Ÿงš
  • llvm-addr2line accepts an address with a + prefix, e.g. +0x00777fff. This is treated as a symbol name by llvm-symbolizer. ๐Ÿ’€

๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

๐Ÿ‘‘ Author ๐Ÿ‘‘

Maintained by the LLVM Team (https://llvm.org/). ๐Ÿซถ

2003-2026, LLVM Project. ๐ŸŒˆ

mwah ๐Ÿ’‹ โ€” page 23, dated 2026-10-20, source/version LLVM, title LLVM-ADDR2LINE(1). slay โœจ

๐Ÿ“ฆ where this page comes from
  • arch rolling: llvm 23.1.4-1 ยท Apache-2.0 WITH LLVM-exception
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms