LLVM-ADDR2LINE(1)
β¨ 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-addr2lineinterprets all addresses as hexadecimal and ignores an optional0xprefix, whereasllvm-symbolizerattempts 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
-fto enable that and let the function names have their main character moment. β¨ - demangling? defaults not to demangle function names. use
-Cto switch the demangling on. lowkey a glow-up. π - inlined frames? defaults not to print them. use
-ito show inlined frames for a source code location in an inlined function. the inlined girlies need this. π - output style? it uses
--output-style=GNUby default. iconic, no cap. - env var check π¦: it parses options from the environment variable
LLVM_ADDR2LINE_OPTSinstead of fromLLVM_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 byllvm-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. π«Ά
β COPYRIGHT β
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
- centos-stream 9: llvm 23.1.3-1.el9 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- centos-stream 9: llvm 23.1.3-1.el9 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms