[Lldb-commits] [PATCH] D140056: [lldb] Report clang module builds remarks

Dave Lee via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 14 14:02:30 PST 2022


kastiglione created this revision.
kastiglione added reviewers: JDevlieghere, aprantl, mib.
Herald added a project: All.
kastiglione requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

Update the Clang diagnostic consumer (in ClangModulesDeclVendor) to report
progress on Clang module builds, as both progress events and expression logs.

Module build remarks are enabled by with clang's `-Rmodule-build` flag.

With this change, command line users of lldb will see progress events showing
which modules are being built, and - by how long they stay on screen - how much
time it takes to build them. IDEs that show progress events can show these
updates if desired.

This does not show module-import remarks, although that may be added as a
future change.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D140056

Files:
  lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
  lldb/test/API/functionalities/progress_reporting/clang_modules/Makefile
  lldb/test/API/functionalities/progress_reporting/clang_modules/TestClangModuleBuildProgress.py
  lldb/test/API/functionalities/progress_reporting/clang_modules/main.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140056.482988.patch
Type: text/x-patch
Size: 7439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20221214/4da3105d/attachment.bin>


More information about the lldb-commits mailing list