LLVM-ADDR2LINE(1)
π NAME π
okay so welcome to the LLVM-ADDR2LINE(1) page in the LLVM manual, bestie π llvm-addr2line is literally a drop-in replacement for addr2line. that's the whole name vibe π«Ά
π SYNOPSIS π
llvm-addr2line [options]
β¨ DESCRIPTION β¨
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. iconic behavior, no cap π
here are some of those differences, and yes you need 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. hex girl summer π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.llvm-addr2lineparses options from the environment variableLLVM_ADDR2LINE_OPTSinstead of fromLLVM_SYMBOLIZER_OPTS.
π SEE ALSO π
llvm-symbolizer(1)β go read that one too, bestie π
π AUTHOR π
maintained by the LLVM Team (https://llvm.org/). π
π COPYRIGHT π
2003-2023, LLVM Project
okay that's the whole page, bestie. this one is from LLVM 15, dated 2023-07-14 β slay and goodbye π¦
π¦ where this page comes from
- ubuntu jammy: llvm-15 1:15.0.7-0ubuntu0.22.04.3 Β· APACHE-2-LLVM-EXCEPTIONS
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms