[PATCH] [lld] Include reference kind in cycle detector debug

Shankar Easwaran shankare at codeaurora.org
Sun Feb 23 21:43:48 PST 2014


This patch makes the strings duplicated in the Registry(Reader.cpp, 
referenceKindToString) and the LayoutPass. I am not sure if there is a 
way to use the Registry here, but I think it would be better to have a 
function that could call the Registry to get this information.

On 2/23/2014 5:35 AM, Nico Rieck wrote:
> r197727 changed the debug output of the cycle detector in the layout
> pass without changing the test/core/layout-error-test.objtxt. This was
> never detected because tests requiring assertions were never run due to
> broken feature detection in lit.cfg.
>
> This patch restores the previous output so this test passes again.
>
> -Nico
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140223/06d69b2d/attachment.html>


More information about the llvm-commits mailing list