[llvm-bugs] [Bug 32950] New: LLD COFF unreferenced imports still added

via llvm-bugs llvm-bugs at lists.llvm.org
Sat May 6 13:05:02 PDT 2017


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

            Bug ID: 32950
           Summary: LLD COFF unreferenced imports still added
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: COFF
          Assignee: unassignedbugs at nondot.org
          Reporter: ignacio.slipknot at gmail.com
                CC: llvm-bugs at lists.llvm.org

Unreferenced imported functions are being added to the output binary.
Example code (if someFunction is removed, ExitProcess won't be added to the
import table):

#include <Windows.h>

void someFunction()
{
        ExitProcess( 0 );
}

int main( int argc, char** argv )
{
        return 0;
}

-- 
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/20170506/cc8afa3e/attachment.html>


More information about the llvm-bugs mailing list