<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" style="word-wrap:break-word">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF151893"><font color="#000000" face="Tahoma" size="2">So<font size="2"> you are saying
<font size="2">is that SubT<font size="2">argetInfo is OK and an<font size="2">ything that such as PIC<font size="2">/CPIC that I ne<font size="2">ed would just get added to that?
<br>
<br>
<font size="2">Yes, I need to <font size="2">know and mark e_flags with EF_MIPS_PIC i<font size="2">f
<font size="2">we <font size="2">are not compil<font size="2">ing static (non-shared).
<br>
<br>
<font size="2">I would be good with that.<font size="2"><font size="2"> </font></font></font><br>
<br>
<font size="2">Jack</font><br>
<font size="2"></font><br>
</font></font></font></font></font></font></font></font></font></font></font></font><b><br>
From:</b> Jim Grosbach [grosbach@apple.com]<br>
<b>Sent:</b> Monday, December 03, 2012 12:04 PM<br>
<b>To:</b> Carter, Jack<br>
<b>Cc:</b> llvm-commits@cs.uiuc.edu<br>
<b>Subject:</b> Re: [PATCH] Review request: MC access to target and subtarget machine info<br>
</font><br>
</div>
<div></div>
<div>Hi Jack,
<div><br>
</div>
<div>TargetMachine is deliberately not available in any MC layer code, as it's part of the CodeGen layer.</div>
<div><br>
</div>
<div>You probably want something along the lines of the features bit mask in MCSubtargetInfo. The ARM assembler has some examples of using that for related things.</div>
<div><br>
</div>
<div>-Jim</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</body>
</html>