This is an archive of the discontinued LLVM Phabricator instance.

[lldb/Utility] Fix layering violation caused by ScriptedMetadata
ClosedPublic

Authored by mib on Mar 6 2023, 11:59 AM.

Details

Summary

This patch moves ScriptedMetadata.h from the Interpreter directory to
the Utility sub-directory since ProcessInfo.h depends on it.

It also gets rid of the unused OptionGroupPythonClassWithDict
constructor for ScriptedMetadata which would address the layering
violation.

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>

Diff Detail

Event Timeline

mib created this revision.Mar 6 2023, 11:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 6 2023, 11:59 AM
mib requested review of this revision.Mar 6 2023, 11:59 AM
bulbazord accepted this revision.Mar 6 2023, 12:41 PM

LGTM.

lldb/include/lldb/Utility/ScriptedMetadata.h
33–38

I guess this just isn't used?

This revision is now accepted and ready to land.Mar 6 2023, 12:41 PM
mib added inline comments.Mar 6 2023, 1:13 PM
lldb/include/lldb/Utility/ScriptedMetadata.h
33–38

yep