This is an archive of the discontinued LLVM Phabricator instance.

[PDB] Add char8_t type
ClosedPublic

Authored by zequanwu on Feb 28 2022, 5:26 PM.

Diff Detail

Event Timeline

zequanwu created this revision.Feb 28 2022, 5:26 PM
zequanwu requested review of this revision.Feb 28 2022, 5:26 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 28 2022, 5:26 PM
rnk added a comment.Feb 28 2022, 7:56 PM

Please add a test that uses llc and llvm-pdbutil to show the roundtripping of this from LLVM IR with debug info to codeview. Otherwise, looks good, thanks!

zequanwu updated this revision to Diff 412227.Mar 1 2022, 1:37 PM

Rebase and add a test to use llc and llvm-pdbutil to test char8_t.

Herald added a project: Restricted Project. · View Herald TranscriptMar 1 2022, 1:37 PM
rnk accepted this revision.Mar 1 2022, 1:39 PM

lgtm

This revision is now accepted and ready to land.Mar 1 2022, 1:39 PM
This revision was landed with ongoing or failed builds.Mar 1 2022, 1:39 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMar 1 2022, 1:39 PM
ljmf00 added a comment.Mar 6 2022, 2:19 PM

Thanks for adding this, I ended up forgoting, since I don't use PDB.

lldb/include/lldb/lldb-enumerations.h
752

You forgot to add it to the Python API. It should also be added at the end to avoid user-code breakage. See D116136 . I can rebase my change and correct this :)

zequanwu added inline comments.Mar 7 2022, 10:05 AM
lldb/include/lldb/lldb-enumerations.h
752

Thanks, it sounds good.