> On 31 Mar 2016, at 16:51, Steven Wu <steve...@apple.com> wrote:
> 
> The original handler is not there to workaround a crash. It is to avoid 
> generate a crash report (report_fatal_error) when the input bitcode contains 
> invalid assembly. 

Ah, I see now. That test needs tweaking too, since it doesn't actually produce 
the crash report even after my change (probably because it's a %clang_cc1 test).

How does the patch attached here look? I originally tried reusing the real 
InlineAsmDiagHandler but that was disastrous (it needs a real AST I think, 
which obviously doesn't exist when compiling a .bc file).

Cheers.

Tim.

Attachment: asm-diagnostics.diff
Description: Binary data

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to