[PATCH] D24750: [GC] Don't crash while processing Discarded sections

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 19 17:53:43 PDT 2016


ruiu added a comment.

Sections are discarded mainly because they are comdat sections and deduplicated. Comdat sections are discarded as a group, so I believe there's no reference pointing to discarded sections from outside of the group. That means I think we shouldn't see discarded sections in the mark-sweep collector here. What am I missing?


https://reviews.llvm.org/D24750





More information about the llvm-commits mailing list