[PATCH] Adding vendor and architecture definitions for CSRs Kalimba chips to the Triple

Matthew Gardiner mg11 at csr.com
Tue Jul 8 02:45:17 PDT 2014

Hi people,

I'm currently working on a port of lldb to debug CSR's Kalimba range of 
DSPs. To date I've have some success in connecting lldb to a bespoke 
implementation of gdbserver which talks to our Kalimba chips. In 
parallel with this activity I have registered an ABI machine number for 
our Kalimbas with xinuos.com. Back in June, John Wolfe from xinuos 
arranged for someone at llvm to submit a patch to Support/ELF.h which 
added EM_CSR_KALIMBA as a number here.

For me to continue my work on lldb, in particular - the correct 
recognition of vendor and architecture when an ELF file is loaded, I'd 
appreciate getting the following patch submitted to the Triple.h/.cpp 
files. In summary this patch adds CSR and kalimba as vendor and 
architecture respectively, and modifies the requisite lookup functions 
in order that clients can go between string and enum representations of 
these ids.

Please would someone be apply my patch? File attached.

thank you
Matthew Gardiner

Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Keep up to date with CSR on our technical blog, www.csr.com/blog, CSR people blog, www.csr.com/people, YouTube, www.youtube.com/user/CSRplc, Facebook, www.facebook.com/pages/CSR/191038434253534, or follow us on Twitter at www.twitter.com/CSR_plc.
New for 2014, you can now access the wide range of products powered by aptX at www.aptx.com.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Triple.patch
Type: text/x-patch
Size: 2286 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140708/bcd2ba74/attachment.bin>

More information about the llvm-commits mailing list