[PATCH] D46502: [ELF] - Fix for "LLD can create incorrect debug PC ranges for functions in Comdat groups."

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 10 10:08:23 PDT 2018


grimar added a comment.

btw, I think general direction is to emit a single debug data COMDAT group of DWARF sections per -ffunction-section. I think we will have this sooner or later.
Linkers will be able to handle that very fast then (as handling of COMDATs is fast).

I *think* we just want to have some easy-removable hack for now probably. Like this patch do.


https://reviews.llvm.org/D46502





More information about the llvm-commits mailing list