LLVM-ADDR2LINE(1)

πŸ’– NAME πŸ’–

okay so this is the LLVM-ADDR2LINE(1) page from the LLVM manual, bestie, and the tool is llvm-addr2line β€” literally a drop-in replacement for addr2line. periodt. πŸ’…

✨ SYNOPSIS ✨

llvm-addr2line [options]

that’s the whole synopsis, no cap. πŸ¦‹

🌸 DESCRIPTION 🌸

llvm-addr2line is an alias for the llvm-symbolizer(1) tool with different defaults. the goal is to make it a drop-in replacement for GNU’s addr2line. fr fr.

here’s the tea on some of those differences:

  • πŸ’… 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. iykyk.
  • πŸ™ˆ llvm-addr2line defaults not to print function names. use -f to enable that.
  • πŸŽ€ llvm-addr2line defaults not to demangle function names. use -C to switch the demangling on.
  • πŸ¦‹ llvm-addr2line defaults not to print inlined frames. use -i to show inlined frames for a source code location in an inlined function.
  • ⭐ llvm-addr2line uses --output-style=GNU by default.
  • πŸ”‘ llvm-addr2line parses options from the environment variable LLVM_ADDR2LINE_OPTS instead of from LLVM_SYMBOLIZER_OPTS.

πŸ‘€ SEE ALSO πŸ‘€

πŸ‘‘ AUTHOR πŸ‘‘

maintained by the LLVM Team (https://llvm.org/). iconic.

2003-2025, LLVM Project β€” all the legal cuteness. πŸŽ€


and that’s the page, bestie! official footer vibes: manual section 19, dated 2025-01-17, for LLVM-ADDR2LINE(1) from LLVM. slay πŸ’œπŸ«Ά

πŸ“¦ where this page comes from