LLVM-ADDR2LINE(1)

πŸ“¦ version 23.1.3, in centos-stream 9

✨ NAME ✨

okay so bestie, welcome to the LLVM manual page for llvm-addr2line β€” aka LLVM-ADDR2LINE(1) if we're being formal πŸ’…. it's literally a drop-in replacement for addr2line. that's the whole name, no notes.

πŸ¦‹ SYNOPSIS πŸ¦‹

llvm-addr2line [options]

that's it. just [options], living its best life. slay. ✨

πŸ’… DESCRIPTION πŸ’…

okay so llvm-addr2line is an alias for the llvm-symbolizer(1) tool with different defaults. the goal? make it a drop-in replacement for GNU's addr2line. periodt. πŸ’–

here are some of those differences, bestie:

  • address tea β˜•: 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. it's giving different philosophies, honestly.
  • function names? by default it does not print them. use -f to enable that and let the function names have their main character moment. ✨
  • demangling? defaults not to demangle function names. use -C to switch the demangling on. lowkey a glow-up. πŸŽ€
  • inlined frames? defaults not to print them. use -i to show inlined frames for a source code location in an inlined function. the inlined girlies need this. πŸ’…
  • output style? it uses --output-style=GNU by default. iconic, no cap.
  • env var check πŸ¦‹: it parses options from the environment variable LLVM_ADDR2LINE_OPTS instead of from LLVM_SYMBOLIZER_OPTS. so yeah, check the right one, iykyk.
  • plus sign behavior πŸ’€: it accepts an address with a + prefix, e.g. +0x00777fff. plot twist β€” this is treated as a symbol name by llvm-symbolizer. not me finding that out, fr fr.

🌸 SEE ALSO 🌸

llvm-symbolizer(1) β€” your other fave, go say hi. 🫢

πŸŽ€ AUTHOR πŸŽ€

Maintained by the LLVM Team (https://llvm.org/). yes, the whole squad. ngl, iconic. 🫢

2003-2026, LLVM Project β€” longevity ate, honestly. πŸ‘‘


okay bye bestie! this page is page 23, dated 2026-10-06, source/version LLVM-ADDR2LINE(1). slay your debugging era, stay hydrated, and remember: hexadecimal is a lifestyle. πŸ’œπŸ§šπŸŒˆ

πŸ“¦ where this page comes from