<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 4, 2014 at 2:10 PM, Reid Kleckner <span dir="ltr"><<a href="mailto:rnk@google.com" target="_blank">rnk@google.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I thought you just feed cflags to libclang somewhere.  That isn't working?  There are some things like MS inline assembly that require the X86 MC libraries to parse, but I thought we emit a diagnostic for that now, without crashing.</div>


<div class="gmail_extra"><br></div></blockquote><div><br></div><div>Yep, as discussed on IRC, I do pass '-triple', which causes the crash :)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Jun 4, 2014 at 12:57 PM, Eli Bendersky <span dir="ltr"><<a href="mailto:eliben@google.com" target="_blank">eliben@google.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr">Hello,<div><br></div><div>Currently libclang will refuse to parse code that contains target-specific builtin calls, and as far as I can tell it does not support passing in a triple (I get a "...libclang: crash detected during parsing").</div>




<div><br></div><div>Has anyone else encountered this / filed a bug? It seems that <a href="http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20131104/092632.html" target="_blank">http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20131104/092632.html</a> is related but I didn't find any resolution from it.</div>




<div><br></div><div>Thanks in advance,</div><div>Eli</div><div><br></div><div><br></div></div>
<br></div></div>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div>