This is an archive of the discontinued LLVM Phabricator instance.

[MSP430] Add MC layer
ClosedPublic

Authored by mskvortsov on Oct 24 2018, 11:28 AM.

Details

Summary

This change implements assembler parser, code emitter, ELF object writer
and disassembler for the MSP430 ISA. Also, more instruction forms are added
to the target description.

Diff Detail

Event Timeline

mskvortsov created this revision.Oct 24 2018, 11:28 AM
krisb added a subscriber: krisb.Oct 24 2018, 12:01 PM

I've tested this patch with asan and it found some stack-use-after-scope. Can you please take a look?
Log: https://gist.github.com/pftbest/e7ca0967ab96e2318a86289a31fe8fe4

Fix stack-use-after-scope

Now looks good, thank you.

asl accepted this revision.Nov 7 2018, 3:21 PM
This revision is now accepted and ready to land.Nov 7 2018, 3:21 PM
asl added a comment.Nov 7 2018, 4:06 PM

Thanks, committed as r346374!

This revision was automatically updated to reflect the committed changes.