This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Support file and function names in LLDB_LOGF macro
ClosedPublic

Authored by JDevlieghere on May 30 2023, 4:45 PM.

Details

Reviewers
mib
Group Reviewers
Restricted Project
Commits
rG6099d519bb83: [lldb] Support file and function names in LLDB_LOGF macro
Summary

LLDB's logging machinery supports prepending log messages with the name of the file and function that generates the log. However, currently this functionality is limited to the LLDB_LOG macro. I meant to do this as a follow up to D65128 but never got around to it.

Diff Detail

Event Timeline

JDevlieghere created this revision.May 30 2023, 4:45 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 30 2023, 4:45 PM
JDevlieghere requested review of this revision.May 30 2023, 4:45 PM
mib accepted this revision as: mib.May 30 2023, 4:51 PM
mib added a subscriber: mib.

LGTM! Can we add a test for this ?

This revision is now accepted and ready to land.May 30 2023, 4:51 PM

Add unit test

Herald added a project: Restricted Project. · View Herald TranscriptJun 6 2023, 12:24 PM