> For the complete documentation index, see [llms.txt](https://man.bsdcn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://man.bsdcn.org/man1/llvm-addr2line.1.md).

# llvm-addr2line.1

LLVM-ADDR2LINE(1)

LLVM-ADDR2LINE(1)

LLVM

LLVM-ADDR2LINE(1)

## [名称](#__u540D___u79F0_)

llvm-addr2line - addr2line 的替代品

## [概要](#__u6982___u8981_)

**llvm-addr2line** \[*options*]

## [描述](#__u63CF___u8FF0_)

**llvm-addr2line** 是具有不同默认值的 **llvm-symbolizer(1)** 工具的别名。目标是使其成为 GNU 的 **addr2line** 的直接替代品。

以下是其中一些差异：

* 默认不打印函数名称。使用 *-f* 来启用它。
* 默认情况下不对函数名称进行分解。使用 *-C* 来打开去重合。
* 默认不打印内联帧。使用 *-i* 显示内联函数中源代码位置的内联帧。
* 默认使用 *--output-style=GNU* 。
* 来自环境变量 **LLVM\_ADDR2LINE\_OPTS** 的选项。
*

## [参见](#__u53C2___u89C1_)

**llvm-symbolizer(1)**

## [作者](#__u4F5C___u8005_)

由 LLVM 团队维护 (<https://llvm.org/)。>

## [版权](#__u7248___u6743_)

2003-2020, LLVM 项目

2020-06-26

10


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://man.bsdcn.org/man1/llvm-addr2line.1.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
