- Apr 30, 2013
-
-
Reid Kleckner authored
This seemed like the cleanest way to find the test executable. Also fix the file mode. llvm-svn: 180770
-
- Apr 24, 2013
-
-
Reid Kleckner authored
That seems to interact poorly with the environ and _environ macros defined in MSVC's <stdlib.h>. Also remove the incorrect comment about _NSGetEnviron(). llvm-svn: 180200
-
- Apr 23, 2013
-
-
Reid Kleckner authored
This was r180041 and r180046, which was reverted in r180066. Re-committing this should fix the dragonegg bootstrap, which I presume needs LD_LIBRARY_PATH to be propagated to the child. Tested on Linux, Windows, and Mac OS 10.6. llvm-svn: 180099
-
Alexey Samsonov authored
llvm-svn: 180084
-
Alexey Samsonov authored
Add basic zlib support to LLVM. This would allow to use compression/uncompression in selected LLVM tools. llvm-svn: 180083
-
Michael Gottesman authored
Revert "[Support] Propagate the environment into the test child process" This reverts commit r180046. This reverts commit r180041. These have broken buildbots for ~3 hours: http://lab.llvm.org:8013/builders/clang-x86_64-darwin11-nobootstrap-RAincremental/builds/763 llvm-svn: 180066
-
- Apr 22, 2013
-
-
Reid Kleckner authored
Pointed out by Eli. The test passes for me either way, so I missed this. llvm-svn: 180046
-
Reid Kleckner authored
Should fix the dragonegg bootstrap builder, which reasonably needs LD_LIBRARY_PATH to be set. llvm-svn: 180041
-
Reid Kleckner authored
Summary: This is http://llvm.org/PR15802. Backslashes preceding double quotes in arguments must be escaped. The interesting bit is that all other backslashes should *not* be escaped, because the un-escaping logic is only triggered by the presence of a double quote character. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D705 llvm-svn: 180035
-
- Apr 05, 2013
-
-
Michael J. Spencer authored
llvm-svn: 178905
-
- Mar 27, 2013
-
-
Evgeniy Stepanov authored
Fails due to insufficient thread stack. llvm-svn: 178135
-
- Mar 16, 2013
-
-
Aaron Ballman authored
llvm-svn: 177223
-
- Mar 14, 2013
-
-
Michael J. Spencer authored
llvm-svn: 176996
-
- Feb 28, 2013
-
-
Michael J. Spencer authored
llvm-svn: 176228
-
- Feb 06, 2013
-
-
Michael J. Spencer authored
Thanks to Andrew, David, and Aaron for helping fix this. llvm-svn: 174552
-
- Feb 05, 2013
-
-
Andrew Trick authored
This reverts commit a33e1fafac7fedb1b080ef07ddf9ad6ddff3a830. This unit test crashes on Darwon. It needs to be temporarily reverted to unblock the test infrastructure. llvm-svn: 174458
-
Michael J. Spencer authored
llvm-svn: 174357
-
- Jan 24, 2013
-
-
NAKAMURA Takumi authored
I got blamed on darwin11; unittests/Support/ManagedStatic.cpp:35: error: 'pthread_attr_setstack' was not declared in this scope llvm-svn: 173355
-
NAKAMURA Takumi authored
unittests/SupportTests/Initialize.MultipleThreads: Appease --vg-leak to allocate stack explicitly for glibc. llvm-svn: 173350
-
- Jan 23, 2013
-
-
Michael J. Spencer authored
ErrorOr<void> represents an operation that returns nothing, but can still fail. It should be used in cases where you need the aditional user data that ErrorOr provides over error_code. llvm-svn: 173209
-
- Jan 22, 2013
-
-
NAKAMURA Takumi authored
llvm-svn: 173123
-
- Jan 21, 2013
-
-
Michael J. Spencer authored
llvm-svn: 173004
-
- Jan 20, 2013
-
-
Benjamin Kramer authored
Michael, can this test be ported to C++03? llvm-svn: 172996
-
Michael J. Spencer authored
llvm-svn: 172991
-
- Jan 10, 2013
-
-
Dmitri Gribenko authored
llvm-svn: 172108
-
Dmitri Gribenko authored
llvm-svn: 172107
-
Jakub Staszak authored
llvm-svn: 172105
-
David Greene authored
Use memcpy to do type punning instead of a cast. A cast or similar operation through a union breaks strict aliasing rules. llvm-svn: 172081
-
- Jan 05, 2013
-
-
Chandler Carruth authored
Fixes the CMake build. It took me cutting and pasting this before I managed to see the missing character. =] llvm-svn: 171589
-
Jakob Stoklund Olesen authored
This is similar to the existing Recycler allocator, but instead of recycling individual objects from a BumpPtrAllocator, arrays of different sizes can be allocated. llvm-svn: 171581
-
Chandler Carruth authored
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. llvm-svn: 171551
-
- Jan 04, 2013
-
-
Nick Kledzik authored
Update test case to verify flow sequence is written as a flow sequence. llvm-svn: 171514
-
- Jan 02, 2013
-
-
Michael J. Spencer authored
* Add support for specifying the alignment to use. * Add the concept of native endianness. Used for unaligned native types. The native alignment and read/write simplification is based on a patch by Richard Smith. llvm-svn: 171406
-
Chandler Carruth authored
into their new header subdirectory: include/llvm/IR. This matches the directory structure of lib, and begins to correct a long standing point of file layout clutter in LLVM. There are still more header files to move here, but I wanted to handle them in separate commits to make tracking what files make sense at each layer easier. The only really questionable files here are the target intrinsic tablegen files. But that's a battle I'd rather not fight today. I've updated both CMake and Makefile build systems (I think, and my tests think, but I may have missed something). I've also re-sorted the includes throughout the project. I'll be committing updates to Clang, DragonEgg, and Polly momentarily. llvm-svn: 171366
-
- Jan 01, 2013
-
-
Chandler Carruth authored
users over to the new one. No sense maintaining this "compatibility" layer it seems. llvm-svn: 171331
-
Chandler Carruth authored
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. llvm-svn: 171330
-
- Dec 31, 2012
-
-
Michael J. Spencer authored
This adds AlignedCharArray<Alignment, Size>. A templated struct that contains a member named buffer of type char[Size] that is aligned to Alignment. llvm-svn: 171319
-
Chandler Carruth authored
The coding style used here is not LLVM's style because this is modeled after a Boost interface and thus done in the style of a candidate C++ standard library interface. I'll probably end up proposing it as a standard C++ library if it proves to be reasonably portable and useful. This is just the most basic parts of the interface -- getting the process ID out of it. However, it helps sketch out some of the boiler plate such as the base class, derived class, shared code, and static factory function. It also introduces a unittest so that I can incrementally ensure this stuff works. However, I've not even compiled this code for Windows yet. I'll try to fix any Windows fallout from the bots, and if I can't fix it I'll revert and get someone on Windows to help out. There isn't a lot more that is mandatory, so soon I'll switch to just stubbing out the Windows side and get Michael Spencer to help with implementation as he can test it directly. llvm-svn: 171289
-
- Dec 17, 2012
-
-
Nick Kledzik authored
llvm-svn: 170376
-
Nick Kledzik authored
llvm-svn: 170369
-