[llvm-bugs] [Bug 37474] -fsanitize=cfi-icall inhibits dead code stripping for mixed ThinLTO/native builds

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 6 15:58:27 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=37474

Vlad Tsyrklevich <vlad at tsyrklevich.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Vlad Tsyrklevich <vlad at tsyrklevich.net> ---
I never followed-up on this. The size increase for nacl_helper was eliminated
by enabling summary emission for the regular LTO portion of the build [1] and
only emitting jumptable entries if functions are address-taken in live
functions (rather than just being address-taken in live or dead functions.)
Though this doesn't address the case of bitcode->native->bitcode references,
this did not turn out to be a factor in the nacl_helper size increase. Closing
as the size increase has been fixed.

[1] https://reviews.llvm.org/D47594
[2] https://reviews.llvm.org/D47652

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180806/4bdf99f5/attachment.html>


More information about the llvm-bugs mailing list