[llvm-bugs] [Bug 35324] New: lld fails to emit SafeSEH entries for handlers defined in DLLs

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Nov 15 15:17:15 PST 2017


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

            Bug ID: 35324
           Summary: lld fails to emit SafeSEH entries for handlers defined
                    in DLLs
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: COFF
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm at inglorion.net
                CC: llvm-bugs at lists.llvm.org

lld assumes that all entries in the SafeSEH table are DefinedRegular. However,
this is not true of symbols that come from import libraries, which are
DefinedImportThunk. These symbols are then omitted from the table, causing
programs that need those handlers to crash.

-- 
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/20171115/57fb723c/attachment-0001.html>


More information about the llvm-bugs mailing list