- Jan 09, 2013
-
-
Dmitri Gribenko authored
Some linux distibutions (for example, Mageia 2, Fedora 17) ship Clang that is essentially broken for the end user. Clang can not find or compile libstdc++ headers. The issue is that our configure prefers clang over gcc, thus selecting a broken Clang when a working GCC is available. Now we detect this issue by compiling a simple program. If it does not compile, configure stops with an error suggesting the user to select a different compiler. llvm-svn: 171975
-
- Jan 05, 2013
-
-
Chandler Carruth authored
the source code should now be set up to handle this. llvm-svn: 171570
-
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 02, 2013
-
-
Chandler Carruth authored
VMCore to IR. llvm-svn: 171360
-
- Jan 01, 2013
-
-
NAKAMURA Takumi authored
llvm-svn: 171342
-
- Dec 26, 2012
-
-
Benjamin Kramer authored
llvm-svn: 171108
-
- Dec 13, 2012
-
-
Roman Divacky authored
in clang. The default remains to build those. llvm-svn: 170134
-
- Nov 19, 2012
-
-
Eric Christopher authored
Noticed by Dimitri Andric! llvm-svn: 168319
-
- Nov 17, 2012
-
-
Benjamin Kramer authored
llvm-svn: 168272
-
- Nov 14, 2012
-
-
Eric Christopher authored
Approved by Chris Lattner. llvm-svn: 167984
-
- Oct 29, 2012
-
-
Simon Atanasyan authored
as valid triples denote Mips target. llvm-svn: 166961
-
- Oct 01, 2012
-
-
Jordan Rose authored
The Apple buildbots have been modified not to pass --target, so they shouldn't choke on a default program prefix anymore. Patch by Rick Foos! llvm-svn: 164956
-
- Sep 28, 2012
-
-
Andrew Kaylor authored
Patch committed on behalf of Kirill Uhanov llvm-svn: 164831
-
- Sep 26, 2012
-
-
Jordan Rose authored
The Apple buildbots are set up to pass --target to configure for both cross- and non-cross-compile builds, and the standard autoconf response to this is to set the program prefix to '<target>-'. Until we can figure out the proper way to handle this (don't pass --target? pass an explicit --program-prefix=""? don't auto-populate program_prefix with target_alias?) it's more important to keep the buildbots running. This reverts r164633 / ba48ceb1a3802e20e781ef04ea2573ffae2ac414. llvm-svn: 164651
-
- Sep 25, 2012
-
-
Sebastian Pop authored
llvm-svn: 164633
-
- Sep 22, 2012
-
-
Eric Christopher authored
whether or not we want to print out backtrace information. Useful for libraries that don't need backtrace information on a crash. rdar://11844710 llvm-svn: 164426
-
- Aug 28, 2012
-
-
Eric Christopher authored
llvm-svn: 162722
-
Sebastian Pop authored
llvm-svn: 162707
-
- Aug 14, 2012
-
-
Daniel Dunbar authored
llvm-svn: 161881
-
- Aug 09, 2012
-
-
Victor Oliveira authored
Added LLVM_EXPERIMENTAL_TARGETS_TO_BUILD in CMake and --enable-experimental-targets in configure. llvm-svn: 161561
-
- Aug 06, 2012
-
-
Eric Christopher authored
Patch by David Hill. llvm-svn: 161344
-
- Aug 03, 2012
-
-
Eric Christopher authored
while building as requested by Lang. llvm-svn: 161253
-
Eric Christopher authored
commit code in clang that uses this shortly. llvm-svn: 161252
-
Eric Christopher authored
rdar://11366674 llvm-svn: 161251
-
Eric Christopher authored
packages for particular uses. llvm-svn: 161246
-
Eric Christopher authored
to store additional flag options since too many things can and do override CPPFLAGS. Also, this is exported, unlike CPPFLAGS so it can be actually used elsewhere. This should enable us to remove the AC_SUBSTs in the intel checks, but I have no way of testing it. llvm-svn: 161233
-
- Jul 22, 2012
-
-
NAKAMURA Takumi authored
cmake: Add LLVM_HOSTTRIPLE. For now, it is same as TARGET_TRIPLE. llvm-svn: 160609
-
- Jul 16, 2012
-
-
Tom Stellard authored
This reverts commit e3013202259ed1e006c21817c63cf25d75982721. llvm-svn: 160301
-
Tom Stellard authored
llvm-svn: 160272
-
- Jun 28, 2012
-
-
Eric Christopher authored
llvm-svn: 159374
-
- May 24, 2012
-
-
Justin Holewinski authored
This back-end was deprecated in favor of the NVPTX back-end. NV_CONTRIB llvm-svn: 157417
-
- May 17, 2012
-
-
Danil Malyshev authored
- Added HOST_ARCH to Makefile.config.in The HOST_ARCH will be used by MCJIT tests filter, because MCJIT supported only x86 and ARM architectures now. llvm-svn: 157015
-
- May 08, 2012
-
-
Daniel Dunbar authored
patch wasn't ready yet. llvm-svn: 156395
-
Daniel Dunbar authored
llvm-svn: 156393
-
Daniel Dunbar authored
llvm-svn: 156390
-
- May 05, 2012
-
-
Daniel Dunbar authored
llvm-svn: 156236
-
- May 04, 2012
-
-
Justin Holewinski authored
This patch adds a new NVPTX back-end to LLVM which supports code generation for NVIDIA PTX 3.0. This back-end will (eventually) replace the current PTX back-end, while maintaining compatibility with it. The new target machines are: nvptx (old ptx32) => 32-bit PTX nvptx64 (old ptx64) => 64-bit PTX The sources are based on the internal NVIDIA NVPTX back-end, and contain more functionality than the current PTX back-end currently provides. NV_CONTRIB llvm-svn: 156196
-
- Apr 30, 2012
-
-
Sebastian Pop authored
Thanks to "Gabor Greif" <ggreif@gmail.com> for reporting this problem. The configure flag should be --with-default-sysroot as documented, and not --with-sysroot. The reason we don't want to define --with-sysroot is that GCC has a configure flag by that name and it has a different semantics. llvm-svn: 155844
-
- Apr 20, 2012
-
-
Benjamin Kramer authored
llvm-svn: 155211
-
- Apr 16, 2012
-
-
Sebastian Pop authored
llvm-svn: 154791
-