[llvm-bugs] [Bug 36483] New: cfi-icall broken for available_externally functions

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 22 17:46:28 PST 2018


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

            Bug ID: 36483
           Summary: cfi-icall broken for available_externally functions
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Interprocedural Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: vlad at tsyrklevich.net
                CC: llvm-bugs at lists.llvm.org

A change [1] to ThinLTO to mark non-prevailing values as dead (and later drop
dead symbols) has broken how LowerTypeTests handles available_externally
functions. The LowerTypeTests pass uses liveness to determine which functions
to emit cfi-icall thunks for to avoid avoid emitting thunks for unused
functions. Because of the change in [1], available_externally functions are
marked not live and LowerTypeTests does not emit thunks for them even when they
are actually used.

[1] https://reviews.llvm.org/D42107

-- 
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/20180223/1413baeb/attachment.html>


More information about the llvm-bugs mailing list