[all-commits] [llvm/llvm-project] 9c5b97: [lldb] Report clang module build remarks
Dave Lee via All-commits
all-commits at lists.llvm.org
Fri Dec 16 13:49:41 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9c5b97570502c5c6648730f75d097910ae2faa22
https://github.com/llvm/llvm-project/commit/9c5b97570502c5c6648730f75d097910ae2faa22
Author: Dave Lee <davelee.com at gmail.com>
Date: 2022-12-16 (Fri, 16 Dec 2022)
Changed paths:
M lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
A lldb/test/API/functionalities/progress_reporting/clang_modules/Makefile
A lldb/test/API/functionalities/progress_reporting/clang_modules/MyModule.h
A lldb/test/API/functionalities/progress_reporting/clang_modules/TestClangModuleBuildProgress.py
A lldb/test/API/functionalities/progress_reporting/clang_modules/main.m
A lldb/test/API/functionalities/progress_reporting/clang_modules/module.modulemap
Log Message:
-----------
[lldb] Report clang module build remarks
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.
Differential Revision: https://reviews.llvm.org/D140056
More information about the All-commits
mailing list