[llvm-dev] RFC: ODR checker for Clang and LLD
Rafael Avila de Espindola via llvm-dev
llvm-dev at lists.llvm.org
Wed Jun 7 19:59:37 PDT 2017
Peter Collingbourne via llvm-dev <llvm-dev at lists.llvm.org> writes:
> Hi all,
>
> I'd like to propose an ODR checker feature for Clang and LLD. The feature
> would be similar to gold's --detect-odr-violations feature, but better: we
> can rely on integration with clang to avoid relying on debug info and to
> perform more precise matching.
It seems a really nice idea. Do you have performance numbers?
I agree with others that suggested putting the strings in .strtab. For
-O0 at least it should save many duplicates.
Cheers,
Rafael
More information about the llvm-dev
mailing list