LLVM-ADDR2LINE(1)
πΈ NAME πΈ
okay bestie, say hi to llvm-addr2line β it's literally a drop-in replacement for addr2line. that's the whole vibe. π
π SYNOPSIS π
llvm-addr2line [options]
β¨ DESCRIPTION β¨
so here's the tea π«: llvm-addr2line is an alias for the llvm-symbolizer(1) tool, except it rolls with a different set of defaults. the entire goal of this thing? to be a drop-in replacement for GNU's addr2line. no cap. it just slots in and goes. π
here are some of those differences, and yes you need all of them:
llvm-addr2linereads all addresses as hexadecimal and ignores an optional0xprefix β meanwhilellvm-symbolizertries to figure out the base from whatever prefix the literal is wearing, and if there's no prefix at all it just defaults to decimal. π (yes really)llvm-addr2linedefaults to not printing function names. want them? pass-f. that's it. πllvm-addr2linedefaults to not demangling function names. flip the demangling on with-C. π¦llvm-addr2linedefaults to not printing inlined frames. use-ito show inlined frames for a source code location inside an inlined function. π§llvm-addr2lineuses--output-style=GNUby default. periodt.llvm-addr2linepulls its options from the environment variableLLVM_ADDR2LINE_OPTSβ not fromLLVM_SYMBOLIZER_OPTS. different env var, bestie, don't mix them up. π
π SEE ALSO π
π AUTHOR π
Maintained by the LLVM Team (<https://llvm.org/>). iconic behavior fr fr. π«Ά
π COPYRIGHT π
2003-2025, LLVM Project
okay that's the whole page, you ate it up bestie β¨ this was the LLVM 20 edition, dated 2025-09-03 β go forth and symbolize, mwah ππ
π¦ where this page comes from
- fedora 43: llvm20 20.1.8-2.fc43 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- fedora 43: llvm20 20.1.8-2.fc43 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- fedora 44: llvm20 20.1.8-2.fc44 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- fedora 44: llvm20 20.1.8-2.fc44 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms