[LLVMbugs] [Bug 16319] New: LLVM compiled programs on Windows don't have a return value

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 13 10:22:06 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16319

            Bug ID: 16319
           Summary: LLVM compiled programs on Windows don't have a return
                    value
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: ehsan at mozilla.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

This is a weird bug, it seems like when the process exits, no return value is
set:

ehsan at MEGATRON ~/moz/src
$ cat test.c
int main() {
  return 1;
}

ehsan at MEGATRON ~/moz/src
$ ~/src/llvm-objdir/bin/Release/clang.exe -O2 test.c -o test.exe

ehsan at MEGATRON ~/moz/src
$ ./test.exe && echo $?

ehsan at MEGATRON ~/moz/src
$

-- 
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/20130613/3b146f0a/attachment.html>


More information about the llvm-bugs mailing list