LLVM-ADDR2LINE(1)
π LLVM-ADDR2LINE(1) π
okay bestie, welcome to the LLVM corner of the manual, where we're about to make llvm-addr2line make sense. sit down, grab a strawberry, let's go π
β¨ NAME β¨
llvm-addr2line β a drop-in replacement for addr2line π
β¨ SYNOPSIS β¨
llvm-addr2line [options]
that's it. that's the whole vibe. no positional args, no drama, just options π
β¨ DESCRIPTION β¨
so here's the tea: llvm-addr2line is literally an alias for the llvm-symbolizer(1) tool, except it comes with different defaults. the whole goal? to make it a genuine drop-in replacement for GNU's addr2line. no cap. π
here are some of those differences, bestie, and you will want to know them:
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 at all. so likeβ¦ hex girlie behavior β¨llvm-addr2linedefaults to not printing function names. use-fto turn that on π₯llvm-addr2linedefaults to not demangling function names. use-Cto switch the demangling on π§llvm-addr2linedefaults to not printing inlined frames. use-ito show inlined frames for a source code location in an inlined function πΈllvm-addr2lineuses--output-style=GNUby default πllvm-addr2lineparses options from the environment variableLLVM_ADDR2LINE_OPTSinstead of fromLLVM_SYMBOLIZER_OPTSπ¦
ngl the defaults are the whole personality here. if you came from GNU addr2line expecting those behaviors, you're gonna feel right at home. periodt.
β¨ SEE ALSO β¨
llvm-symbolizer(1)β the main character this one is lowkey cosplaying π
β¨ AUTHOR β¨
maintained by the LLVM Team (https://llvm.org/). iconic. we love a team that keeps the lights on π«Ά
β¨ COPYRIGHT β¨
2003-2024, LLVM Project β
and that's the whole page bestie π this was the LLVM manual, version 12, dated 2024-07-18 β go forth and symbolize your little heart out, you absolute icon ππ
π¦ where this page comes from
- fedora 43: llvm12 12.0.1-12.fc41 Β· NCSA
- fedora 43: llvm12 12.0.1-12.fc41 Β· NCSA
- fedora 44: llvm12 12.0.1-12.fc41 Β· NCSA
- fedora 44: llvm12 12.0.1-12.fc41 Β· NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms