[PATCH] D38136: [ELF] Simplify handling of removed sections

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 21 11:06:02 PDT 2017


ruiu added a comment.

> I am inclined to agree. In the end we probably want to restrict access to this function so that it can only be called via functions that know how to take dead symbols into account - at that point we can just have an assert in here in order to check that it hasn't been called on a dead symbol. However, at the moment this function is called for dead symbols.

How do we call getSymVA on dead symbols? I think I want to fix it first.


https://reviews.llvm.org/D38136





More information about the llvm-commits mailing list