<div dir="ltr"><div>I am happy to see that my first patch submission looks good. However, I cannot commit it because I have no write access to the repository.<br><br></div>Michael<br><div class="gmail_extra"><br><br><div class="gmail_quote">


2013/10/25 Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


LGTM<br>
<br>
On 25 October 2013 05:43, Michael Kruse <<a href="mailto:llvm-commits@meinersbur.de" target="_blank">llvm-commits@meinersbur.de</a>> wrote:<br>
> The function verifyFunction() in lib/IR/Verifier.cpp misses some calls. It<br>
> creates a temporary FunctionPassManager that will run a single Verifier<br>
> pass. Unfortunately, FunctionPassManager is no PassManager and does not call<br>
> doInitialization() and doFinalization() by itself. Verifier does important<br>
> tasks in doInitialization() such as collecting type information used to<br>
> check DebugInfo metadata and doFinalization() does some additional checks.<br>
> Therefore these checks were missed and debug info couldn't be verified at<br>
> all, it just crashed if the function had some.<br>
><br>
> verifyFunction() is currently not used in llvm unless -debug option is<br>
> enabled, and in unittests/IR/VerifierTest.cpp<br>
><br>
> VerifierTest had to be changed to create the function in a module from which<br>
> the type debug info can be collected.<br>
><br>
> Patch applicable to r193391.<br>
><br>
> Regards,<br>
> Michael Kruse<br>
><br>
><br>
> _______________________________________________<br>
> llvm-commits mailing list<br>
> <a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">llvm-commits@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
><br>
</blockquote></div><br></div></div>