This is an archive of the discontinued LLVM Phabricator instance.

[LLDB] Format lldb-server's target XML
ClosedPublic

Authored by DavidSpickett on Sep 16 2022, 6:19 AM.

Details

Summary

So that the XML isn't one giant line. Which wasn't
a problem for lldb but was for me trying to troubleshoot
it using the logs.

It now looks like:

<?xml version="1.0"?>
<target version="1.0">
  <architecture>aarch64</architecture>
  <feature>
    <...>
    <reg name="fpcr" .../>
  </feature>
</target>

Diff Detail

Event Timeline

DavidSpickett created this revision.Sep 16 2022, 6:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 16 2022, 6:19 AM
DavidSpickett requested review of this revision.Sep 16 2022, 6:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 16 2022, 6:19 AM
DavidSpickett edited the summary of this revision. (Show Details)Sep 16 2022, 6:20 AM
labath accepted this revision.Sep 19 2022, 6:17 AM
This revision is now accepted and ready to land.Sep 19 2022, 6:17 AM
This revision was automatically updated to reflect the committed changes.