[PATCH] D46326: ThinLTO+CFI: short-circuit direct calls to jump table entries

Dmitry Mikulin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 3 13:24:10 PDT 2018


dmikulin added a comment.

> $ clang++ -fuse-ld=lld -flto=thin -fsanitize=cfi-icall -fvisibility=hidden -o ex ex1.cpp ex2.cpp
>  lld: error: undefined symbol: void X<double>() (.cfi)
> 
>>>> referenced by ex1.cpp
>>>> 
>>>>   lto.tmp:(main)

I get the same result with full LTO and without my changes, ToT from a few days ago. It may be a separate problem.


https://reviews.llvm.org/D46326





More information about the llvm-commits mailing list