LLVM-ADDR2LINE(1)
π LLVM-ADDR2LINE π
okay bestie, welcome to llvm-addr2line, a page from the LLVM manual collection (section 1, the user commands girlies π
). she's a whole vibe and also a drop-in replacement for addr2line, so let's get into it β¨
πΈ NAME πΈ
llvm-addr2line β a drop-in replacement for addr2line. literally that's her job. no cap π«Ά
β¨ SYNOPSIS β¨
llvm-addr2line [options]
that's it. that's the whole thing. she takes options and she slays π
π¦ DESCRIPTION π¦
okay so here's the tea π: llvm-addr2line is an alias for the llvm-symbolizer(1) tool, but with different defaults. the goal is to make it a drop-in replacement for GNU's addr2line. she's cosplaying, but she's good at it π
here are some of those differences, and yes you need to know all of them:
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. so like, hex is the moment, always πllvm-addr2linedefaults not to print function names. use-fto enable that.llvm-addr2linedefaults not to demangle function names. use-Cto switch the demangling on.llvm-addr2linedefaults not to print inlined frames. use-ito show inlined frames for a source code location in an inlined function.llvm-addr2lineuses--output-style=GNUby default. periodt.llvm-addr2lineparses options from the environment variableLLVM_ADDR2LINE_OPTSinstead of fromLLVM_SYMBOLIZER_OPTS. not me remembering the right env var for once π
fr fr, if you came here expecting llvm-symbolizer behaviour out of the box, she said no π flip the flags, bestie.
π SEE ALSO π
llvm-symbolizer(1)β her sister, her origin story, her whole personality iykyk
π AUTHOR π
Maintained by the LLVM Team (https://llvm.org/). iconic behaviour, honestly π«Ά
β COPYRIGHT β
2003-2025, LLVM Project. the range is giving longevity π
and that's the page, bestie π§ thanks for reading, she's version 14, dated 2025-05-22, and she's from LLVM β go forth and symbolize those addresses πΈπβ¨
π¦ where this page comes from
- ubuntu questing: llvm-14 1:14.0.6-20ubuntu3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms