[PATCH] D24731: [GC] Don't crash when printing gc'd sections with no name and no associated file

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 19 09:51:48 PDT 2016


Which file is that?

Should we print "<internal>" instead?

Cheers,
Rafael


On 19 September 2016 at 12:34, Davide Italiano <dccitaliano at gmail.com>
wrote:

> davide added a comment.
>
> To be more precise, before this code was crashing because `getFile()`
> returned a `nullptr` on which lld was trying to call `getName()`.
>
>
> https://reviews.llvm.org/D24731
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160919/8b7baf33/attachment.html>


More information about the llvm-commits mailing list