This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Add Clang module import logging
Needs ReviewPublic

Authored by kastiglione on Mar 31 2023, 4:25 PM.

Details

Reviewers
aprantl
Summary

Log Clang module imports to lldb's expr channel. This is similar to enabling module import remarks in clang with -Rmodule-import.

This is minor add-on to D140056, which logs module _builds_ while also broadcasting Progress events.

Diff Detail

Event Timeline

kastiglione created this revision.Mar 31 2023, 4:25 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 31 2023, 4:25 PM
kastiglione requested review of this revision.Mar 31 2023, 4:25 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 31 2023, 4:25 PM
kastiglione edited the summary of this revision. (Show Details)Mar 31 2023, 4:28 PM

Add -Rmodule-import flag

This looks great, and I think this should also be easy to test? I think we have many other tests that write out a logfile and FileCheck the result.