[llvm-commits] [llvm] r171559 - /llvm/trunk/lib/Support/Windows/Process.inc

Reid Kleckner rnk at google.com
Fri Jan 4 15:56:35 PST 2013


MSVC still doesn't like the TimeValue() constructor calls in
Windows/Process.inc.  Using TimeValue(0LL) works, if that's right.


On Fri, Jan 4, 2013 at 3:46 PM, Chandler Carruth <chandlerc at gmail.com>wrote:

> Author: chandlerc
> Date: Fri Jan  4 17:46:04 2013
> New Revision: 171559
>
> URL: http://llvm.org/viewvc/llvm-project?rev=171559&view=rev
> Log:
> Fix an obvious typo spotted by Reid Kleckner, and breaking windows builds.
>
> Modified:
>     llvm/trunk/lib/Support/Windows/Process.inc
>
> Modified: llvm/trunk/lib/Support/Windows/Process.inc
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Windows/Process.inc?rev=171559&r1=171558&r2=171559&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Support/Windows/Process.inc (original)
> +++ llvm/trunk/lib/Support/Windows/Process.inc Fri Jan  4 17:46:04 2013
> @@ -116,7 +116,7 @@
>      return;
>
>    user_time = getTimeValueFromFILETIME(UserTime);
> -  sys_time = getTimeValueFromFILETIME(SystemTime);
> +  sys_time = getTimeValueFromFILETIME(KernelTime);
>  }
>
>  int Process::GetCurrentUserId()
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130104/cbc1cff4/attachment.html>


More information about the llvm-commits mailing list