This is an archive of the discontinued LLVM Phabricator instance.

Add compiler-rt MIP support
AbandonedPublic

Authored by ellis on Jun 10 2021, 6:28 PM.

Details

Reviewers
None
Summary

Add the compiler-rt library libclang_rt.mip.a that automatically dumps the contents of the
__llvm_mipraw section when the program exits.

Diff Detail

Event Timeline

ellis created this revision.Jun 10 2021, 6:28 PM
ellis requested review of this revision.Jun 10 2021, 6:28 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 10 2021, 6:28 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
ellis added a parent revision: D104060: Machine IR Profile.
ellis removed a parent revision: D104087: Add llvm-mipdata tool.
ellis added a child revision: D104087: Add llvm-mipdata tool.

This is a new thing. Do you have an RFC on llvm-dev?

compiler-rt/include/mip/MIPData.inc
37

New code should use // style comments.

ellis added a comment.Jun 10 2021, 7:17 PM

This is a new thing. Do you have an RFC on llvm-dev?

Yeah, the parent commit has more info.
https://reviews.llvm.org/D104060

I do have an RFC, but it is waiting for moderator approval before it makes it to the mailing list.

ellis updated this revision to Diff 351602.Jun 11 2021, 5:29 PM

Update comment style

ellis updated this revision to Diff 355948.Jul 1 2021, 11:00 AM

Minor updates.

ellis updated this revision to Diff 356059.Jul 1 2021, 5:38 PM

Fix MIPData.inc.

ellis abandoned this revision.Dec 16 2021, 4:51 PM