[PATCH] D18911: ELF: Emit .eh_frame_hdr entries for FDEs with duplicate PCs.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 8 19:43:35 PDT 2016
pcc added a comment.
It seems feasible, I'll see if I can do it. In the meantime, this fixes the issue with backtrace(), and also matches gold's behavior, so maybe we can land this as a first step with a FIXME.
I was also thinking about cases where the unwind info for functions with identical bodies was semantically different. For example, I suppose you might be able to have functions with identical bodies but different personality functions. If that's possible, I suppose we may need to inhibit ICF in such cases and do something completely different here.
http://reviews.llvm.org/D18911
More information about the llvm-commits
mailing list