<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Nov 11, 2014 at 12:51 PM, Simon Atanasyan <span dir="ltr"><<a href="mailto:simon@atanasyan.com" target="_blank">simon@atanasyan.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Nov 11, 2014 at 11:31 PM, Nick Kledzik <<a href="mailto:kledzik@apple.com">kledzik@apple.com</a>> wrote:<br>
> That said, the ability to handle thumb and arm within a function is probably<br>
> over engineering. I’d be fine with adding to DefinedAtom something like:<br>
><br>
> enum CodeModel {<br>
> // Note: all these values need word smithing<br>
> codeNA,<br>
> codeMIPS_PIC,<br>
> codeMIPS_micro,<br>
> codeMIPS_16,<br>
> codeARM_16,<br>
> codeARM_32,<br>
> };<br>
><br>
> virtual CodeModel codeModel() { return codeNA; }<br>
<br>
</span>Looks good. Let's go this way. I will try to implement the ELF/MIPS<br>
side keeping in mind Mach-O requirements and send the patch to review.<br></blockquote><div><br></div><div>Sounds good.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Simon Atanasyan<br>
</font></span></blockquote></div><br></div></div>