LLVM-ADDR2LINE(1)
π llvm-addr2line β the LLVM manual page, but make it cute
okay so bestie, welcome to llvm-addr2line, part of the LLVM manual family. This is the whole page, the whole vibe, nothing skipped. Let's go π
β¨ NAME β¨
llvm-addr2line β literally just a drop-in replacement for addr2line, no cap π
πΈ SYNOPSIS πΈ
llvm-addr2line [options]
That's it. That's the whole synopsis. Iconic, honestly.
π¦ DESCRIPTION π¦
So here's the tea: llvm-addr2line is an alias for the llvm-symbolizer(1) tool, except it ships with different defaults. The whole goal here is to make it a genuine drop-in replacement for GNU's addr2line. Periodt. π
Here are some of those differences, bestie β every single one, not skipping a single crumb:
llvm-addr2linereads all addresses as hexadecimal and just ignores an optional0xprefix, whereasllvm-symbolizertries to figure out the base from the literal's prefix and defaults to decimal when there's no prefix. Yes, that's a whole personality difference fr fr.llvm-addr2linedefaults to not printing function names. Want them? Use-fto turn that on π«Άllvm-addr2linedefaults to not demangling function names. Flip demangling on with-C.llvm-addr2linedefaults to not printing inlined frames. Use-ito actually show the inlined frames for a source code location inside an inlined function πllvm-addr2lineuses--output-style=GNUby default. Default. Always. No notes.llvm-addr2lineparses its options from the environment variableLLVM_ADDR2LINE_OPTS, not fromLLVM_SYMBOLIZER_OPTS. Different env var, different girl π
lowkey the theme here is: everything GNU addr2line does by default, this one does by default too. That's the whole assignment β¨
π₯ SEE ALSO π₯
llvm-symbolizer(1)β the main character this one is aliased to, go say hi π
π AUTHOR π
Maintained by the LLVM Team (https://llvm.org/). They're doing amazing, sweetie π
π COPYRIGHT π
2003-2023, LLVM Project β yeah, twenty whole years of copyright, we love longevity π§
and that's a wrap, bestie π¦ this was LLVM-ADDR2LINE(1) from the LLVM manual, version 15, dated 2023-01-14 β mwah, slay, go symbolize some addresses π
π
π¦ where this page comes from
- opensuse-leap 16.0: llvm15 15.0.7-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm15 15.0.7-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm15 15.0.7-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm15 15.0.7-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms