[llvm-bugs] [Bug 45244] New: SwitchToLookupTable optimization is not PIC-friendly

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 18 15:37:40 PDT 2020


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

            Bug ID: 45244
           Summary: SwitchToLookupTable optimization is not PIC-friendly
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Transformation Utilities
          Assignee: unassignedbugs at nondot.org
          Reporter: roland at hack.frob.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 23254
  --> https://bugs.llvm.org/attachment.cgi?id=23254&action=edit
source file illustrating interesting cases

The SwitchToLookupTable optimization can turn code that was purely
position-independent into code that requires dynamic relocations.

-- 
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/20200318/335f8762/attachment.html>


More information about the llvm-bugs mailing list