[PATCH] Enable basic debug output for the MSP430 backend.

Iain Sandoe iain at codesourcery.com
Wed Sep 17 10:06:54 PDT 2014


Hi Adrian, Eric,

It's sometimes useful to see what is needed to support backends with ints smaller than 32bit.

This is a patch to enable basic debug output on the msp430 in-tree back-end so that it can be used to investigate such support.

1. The DWARF register numbers chosen have no particular rationale (but they match one GCC implementation, at least, for R0-R15)

2. I have not implemented any of the CFI_ stuff

however, this does still allow examination of basic variable handling etc. (and the CFI stuff could be added as/when it becomes useful).  It's certainly enough to investigate DWARF handling of variable pieces.

cheers
Iain

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: msp430-basic-debug-diff.txt
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140917/e3031562/attachment.txt>
-------------- next part --------------




More information about the llvm-commits mailing list