[PATCH] D46502: [ELF] - Fix for "LLD can create incorrect debug PC ranges for functions in Comdat groups."
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 11 10:26:42 PDT 2018
ruiu added a comment.
I'd agree that there might be some alternative way of doing this. I thought that, if there's some way to obtain a replacing comdat section from here
https://github.com/llvm-project/llvm-project-20170507/blob/master/lld/ELF/Symbols.cpp#L54
then we can get an address for a replaced comdat section which might solve the issue. But with the data structure it doesn't seem to be easy thing to do (and that's not lld's fault as it is for a compiler bug workaround).
https://reviews.llvm.org/D46502
More information about the llvm-commits
mailing list