[Lldb-commits] [PATCH] D112691: Include target settings in "statistics dump" output.

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 27 23:30:24 PDT 2021


clayborg created this revision.
clayborg added reviewers: wallace, aadsm, jingham, JDevlieghere.
clayborg requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

Many target settings can be set that can affect how breakpoints are found during a debug session. Having these settings along with the statistics are important for being able to reproduce issues clients are having.

A new "settings" key/value pair is added to each target dictionary that contains settings:

  "settings": {
    "target.arg0": "/tmp/a.out",
    "target.clang-module-search-paths": [
      "/tmp",
      "/var"
    ],
    "target.debug-file-search-paths": [
      "/tmp",
      "/var"
    ],
    "target.exec-search-paths": [
      "/tmp",
      "/var"
    ],
    "target.inline-breakpoint-strategy": "headers",
    "target.preload-symbols": true,
    "target.run-args": [
      "a",
      "b",
      "c"
    ],
    "target.skip-prologue": true,
    "target.source-map": [
      [
        "/tmp",
        "/var"
      ]
    ]
  },


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112691

Files:
  lldb/include/lldb/Core/FileSpecList.h
  lldb/include/lldb/Target/PathMappingList.h
  lldb/source/Core/FileSpecList.cpp
  lldb/source/Target/PathMappingList.cpp
  lldb/source/Target/Statistics.cpp
  lldb/test/API/commands/statistics/basic/TestStats.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112691.382926.patch
Type: text/x-patch
Size: 13581 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20211028/b213a6a1/attachment.bin>


More information about the lldb-commits mailing list