[llvm-bugs] [Bug 38467] New: bugpoint fails to create valid tmp files on windows

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 7 03:41:33 PDT 2018


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

            Bug ID: 38467
           Summary: bugpoint fails to create valid tmp files on windows
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: bugpoint
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm-dev at redking.me.uk
                CC: llvm-bugs at lists.llvm.org

Seemingly since the move over to sys::fs::TempFile, windows builds of bugpoint
are unable to load the tmp files - the tmp files are created but not closed so
when the driver passes the tmp filename on it finds a locked, empty file and
aborts.

bugpoint -safe-llc <ir_file_to_reduce.ll>

*** All input ok
Initializing execution environment: Found llc: E:\llvm\ninja\bin\llc.exe
Running the code generator to test for a crash: <llc>*** Debugging code
generator crash!

Error running tool:
  E:\llvm\ninja\bin\llc.exe -o bugpoint-test-program-c4f82bf.bc-8eacd60.llc.s
bugpoint-test-program-c4f82bf.bc
E:\llvm\ninja\bin\llc.exe: error: E:\llvm\ninja\bin\llc.exe:
bugpoint-test-program-c4f82bf.bc: error: Could not open input file: permission
denied

Checking to see if we can delete global inits: <llc><crash>

*** Able to remove all global initializers!
Checking for crash with changing conditionals to always jump to true: entry:
E:\llvm\ninja\bin\opt.exe: bugpoint-input-29bf62d.bc: error: Could not open
input file: permission denied
verify failed!

-- 
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/20180807/2c253873/attachment.html>


More information about the llvm-bugs mailing list