[llvm-bugs] [Bug 33925] New: lld incorrectly creates manifest files by default

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 25 08:08:40 PDT 2017


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

            Bug ID: 33925
           Summary: lld incorrectly creates manifest files by default
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: COFF
          Assignee: unassignedbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvm-bugs at lists.llvm.org

C:\src\chrome\src>type test.cc
int main() {}

C:\src\chrome\src>cl /nologo /c test.cc
test.cc

C:\src\chrome\src>link.exe /nologo test.obj

C:\src\chrome\src>type test.exe.manifest
The system cannot find the file specified.

C:\src\chrome\src>"third_party\llvm-build\Release+Asserts\bin\lld-link.exe"
test.obj

C:\src\chrome\src>type test.exe.manifest
<?xml version="1.0" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1"
          manifestVersion="1.0">
  <trustInfo>
    <security>
      <requestedPrivileges>
         <requestedExecutionLevel level='asInvoker' uiAccess='false'/>
      </requestedPrivileges>
    </security>
  </trustInfo>
</assembly>



lld-link creates a .manifest file by default while link.exe doesn't (unless you
pass in /manifest). lld-link should match link.exe's behavior.

-- 
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/20170725/199b7c58/attachment.html>


More information about the llvm-bugs mailing list