<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm/lib/Support/Windows, branch testing</title>
<subtitle>http://llvm.org</subtitle>
<id>https://git.amat.us/llvm/atom/lib/Support/Windows?h=testing</id>
<link rel='self' href='https://git.amat.us/llvm/atom/lib/Support/Windows?h=testing'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/'/>
<updated>2013-03-15T19:25:47Z</updated>
<entry>
<title>[Support][Path][Windows] Fix dangling else. Don't call CloseHandle when CloseFD is false.</title>
<updated>2013-03-15T19:25:47Z</updated>
<author>
<name>Michael J. Spencer</name>
<email>bigcheesegs@gmail.com</email>
</author>
<published>2013-03-15T19:25:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=1f81ebcbae0a319a9a62c3a29b4519e4ea40333e'/>
<id>urn:sha1:1f81ebcbae0a319a9a62c3a29b4519e4ea40333e</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177175 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[Support] Fix lifetime of file descriptors when using MemoryBuffer.</title>
<updated>2013-03-14T00:20:10Z</updated>
<author>
<name>Michael J. Spencer</name>
<email>bigcheesegs@gmail.com</email>
</author>
<published>2013-03-14T00:20:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=cc3a595ab938352f3acf8652c5858ddf879524a5'/>
<id>urn:sha1:cc3a595ab938352f3acf8652c5858ddf879524a5</id>
<content type='text'>
Clients of MemoryBuffer::getOpenFile expect it not to take ownership of the file
descriptor passed in. So don't.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176995 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[Support][Path] Don't inf loop if creating the parent directory fails.</title>
<updated>2013-03-12T22:32:39Z</updated>
<author>
<name>Michael J. Spencer</name>
<email>bigcheesegs@gmail.com</email>
</author>
<published>2013-03-12T22:32:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=56772ebe9a5ce3585d2d5cdca3fa1e7fcb29405d'/>
<id>urn:sha1:56772ebe9a5ce3585d2d5cdca3fa1e7fcb29405d</id>
<content type='text'>
Patch by Paul Robinson.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176908 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Add static cast to unsigned char whenever a character classification function is called with a signed char argument, in order to avoid assertions in Windows Debug configuration.</title>
<updated>2013-02-12T21:21:59Z</updated>
<author>
<name>Guy Benyei</name>
<email>guy.benyei@intel.com</email>
</author>
<published>2013-02-12T21:21:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=87d0b9ed1462705dd9bf1cb7f67d0bf03af776c8'/>
<id>urn:sha1:87d0b9ed1462705dd9bf1cb7f67d0bf03af776c8</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175006 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Move the internal PrintStackTrace function that is used for llvm::sys::PrintStackTraceOnErrorSignal(),</title>
<updated>2013-01-09T19:42:40Z</updated>
<author>
<name>Argyrios Kyrtzidis</name>
<email>akyrtzi@gmail.com</email>
</author>
<published>2013-01-09T19:42:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=f48acd5ecd2616623f441f2922d8b4c637e3cd6c'/>
<id>urn:sha1:f48acd5ecd2616623f441f2922d8b4c637e3cd6c</id>
<content type='text'>
into a new function llvm::sys::PrintStackTrace, so that it's available to clients for logging purposes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171989 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Fix an obvious typo spotted by Reid Kleckner, and breaking windows builds.</title>
<updated>2013-01-04T23:46:04Z</updated>
<author>
<name>Chandler Carruth</name>
<email>chandlerc@gmail.com</email>
</author>
<published>2013-01-04T23:46:04Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=6601485662f92bf5b8726c7de35f8d90b0539a3f'/>
<id>urn:sha1:6601485662f92bf5b8726c7de35f8d90b0539a3f</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171559 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Add time getters to the process interface for requesting the elapsed</title>
<updated>2013-01-04T23:19:55Z</updated>
<author>
<name>Chandler Carruth</name>
<email>chandlerc@gmail.com</email>
</author>
<published>2013-01-04T23:19:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=73c35d86b9d5236be5b3f49bc8df11008b96636e'/>
<id>urn:sha1:73c35d86b9d5236be5b3f49bc8df11008b96636e</id>
<content type='text'>
wall time, user time, and system time since a process started.

For walltime, we currently use TimeValue's interface and a global
initializer to compute a close approximation of total process runtime.

For user time, this adds support for an somewhat more precise timing
mechanism -- clock_gettime with the CLOCK_PROCESS_CPUTIME_ID clock
selected.

For system time, we have to do a full getrusage call to extract the
system time from the OS. This is expensive but unavoidable.

In passing, clean up the implementation of the old APIs and fix some
latent bugs in the Windows code. This might have manifested on Windows
ARM systems or other systems with strange 64-bit integer behavior.

The old API for this both user time and system time simultaneously from
a single getrusage call. While this results in fewer system calls, it
also results in a lower precision user time and if only user time is
desired, it introduces a higher overhead. It may be worthwhile to switch
some of the pass timers to not track system time and directly track user
and wall time. The old API also tracked walltime in a confusing way --
it just set it to the current walltime rather than providing any measure
of wall time since the process started the way buth user and system time
are tracked. The new API is more consistent here.

The plan is to eventually implement these methods for a *child* process
by using the wait3(2) system call to populate an rusage struct
representing the whole subprocess execution. That way, after waiting on
a child process its stats will become accurate and cheap to query.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171551 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Remove an unused method on Program.</title>
<updated>2012-12-31T23:44:47Z</updated>
<author>
<name>Chandler Carruth</name>
<email>chandlerc@gmail.com</email>
</author>
<published>2012-12-31T23:44:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=a0d8f28a9cbebfd3ddb32dfe3e0a286ede1678c5'/>
<id>urn:sha1:a0d8f28a9cbebfd3ddb32dfe3e0a286ede1678c5</id>
<content type='text'>
I'm simplifying this interface as much as I can before merging it with
the new process interface.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171334 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Remove an unused method on the Program class.</title>
<updated>2012-12-31T23:38:28Z</updated>
<author>
<name>Chandler Carruth</name>
<email>chandlerc@gmail.com</email>
</author>
<published>2012-12-31T23:38:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=2bbe46647555cdd05fe0db5f1dd2839330a647b2'/>
<id>urn:sha1:2bbe46647555cdd05fe0db5f1dd2839330a647b2</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171332 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Flesh out a page size accessor in the new API.</title>
<updated>2012-12-31T23:23:35Z</updated>
<author>
<name>Chandler Carruth</name>
<email>chandlerc@gmail.com</email>
</author>
<published>2012-12-31T23:23:35Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=814afe91ccad0e5e1f767303d780fa0318fa5212'/>
<id>urn:sha1:814afe91ccad0e5e1f767303d780fa0318fa5212</id>
<content type='text'>
Implement the old API in terms of the new one. This simplifies the
implementation on Windows which can now re-use the self_process's once
initialization.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171330 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
</feed>
