================

----------------
drodriguez wrote:

We are only checking that `*R.Symbol` is not stripped, but what about the 
relocation itself? If that section is removed, then all the relocations are 
still part of the final binary, and they point to offset of a section that no 
longer exists? Shouldn't the relocations be pre-filtered and removed if their 
section is being removed? This will also avoid checking the destination of a 
relocation that will had gone away if the section was removed.

https://github.com/llvm/llvm-project/pull/204805
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to