【问题标题】:what is the lldb cmd option '-w' used for in cmd line "type synthetic add -w"什么是 lldb cmd 选项 '-w' 用于 cmd 行“类型合成添加 -w”
【发布时间】:2019-09-09 01:10:45
【问题描述】:

我在 lldb 中运行一次:help type synthetic add

有一个 -w 选项:

-w <name> ( --category <name> )
            Add this to the given category instead of the default one.

这里的类别到底是什么意思?

我见过有人使用lib名称作为值,例如:

https://github.com/llvm-mirror/lldb/blob/master/examples/synthetic/unordered_multi.py

-w libcxx

还有其他用途吗?或任何文档解释这一点?

【问题讨论】:

    标签: lldb


    【解决方案1】:

    类型类别是一种组织便利。您可以使用type category 命令启用、禁用、列出或删除该类别中的摘要/综合子项。此外,常规的“类型列表”命令将按类别对摘要进行分组。它们没有任何其他效果。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-12-11
      • 2015-01-05
      • 1970-01-01
      • 1970-01-01
      • 2021-12-29
      • 1970-01-01
      • 2013-02-15
      相关资源
      最近更新 更多