This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Propagate destination type's byte order to memory writer
Needs ReviewPublic

Authored by kkcode0 on Aug 17 2023, 11:47 PM.

Details

Summary

When a compiler attaches endianess to type, debugger should honor that when writing to variables of that type.

Diff Detail

Event Timeline

kkcode0 created this revision.Aug 17 2023, 11:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 17 2023, 11:47 PM
kkcode0 requested review of this revision.Aug 17 2023, 11:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 17 2023, 11:47 PM
kkcode0 updated this revision to Diff 551397.Aug 17 2023, 11:49 PM

clang-format

kkcode0 edited the summary of this revision. (Show Details)Aug 17 2023, 11:52 PM

Seems like a noble goal but I don't have the experience to review.

I will just ask, how do you plan to test this? I guess this change is in response to an issue you hit, that's a good place to start from.

kkcode0 updated this revision to Diff 555624.Sep 3 2023, 1:49 AM

use ptracewrapper