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: unassignedb...@nondot.org
          Reporter: v...@tsyrklevich.net
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to