<div dir="ltr">On 11 July 2013 07:41, Anton Korobeynikov <span dir="ltr"><<a href="mailto:anton@korobeynikov.info" target="_blank">anton@korobeynikov.info</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">+  bool isTargetEABI() const {<br>
+    return TargetTriple.getEnvironment() == Triple::EABI;<br>
+  }<br>
<br>
Looks a bit misleading. After all - gnueabi is eabi as well, but with<br>
just some additional stuff... Maybe it's possible to change the name<br>
somehow?<br></blockquote><div><br></div><div style>Hi Anton,</div><div style><br></div><div style>It is confusing, but that's what comes from the triple when it's set as "eabi" rather than any other "*eabi" triple, which is misleading.</div>
<div style><br></div><div style>I can change the name of the function to something like "isTargetAEABI()" or "isTargetBareMetal()" and deal with the triple problems later. Does that make sense? Do you have any preference?</div>
<div style><br></div><div style>cheers,</div><div style>--renato</div></div></div></div>