- Jan 05, 2013
-
-
Chandler Carruth authored
the source code should now be set up to handle this. llvm-svn: 171570
-
Daniel Malea authored
- due to bugzilla 14806 (platform status command prints more information on Mac OS X than on Linux) llvm-svn: 171569
-
Chandler Carruth authored
if-ed out code paths and on Windows. Hopefully restores the Windows build. Thanks to Reid Kleckner for helping triage this. llvm-svn: 171568
-
Alex Rosenberg authored
llvm-svn: 171567
-
Daniel Malea authored
- setting PYTHONPATH is no longer needed to run the lldb CLI on Linux. - added instructions for setting PYTHONPATH correctly for running scripts in the native interpreter llvm-svn: 171566
-
Chandler Carruth authored
defines _POSIX_CPUTIME but doesn't support the clock_* functions. I don't test the value of _POSIX_CPUTIME because the spec merely says that if it is defined, the CPU-specific timers are available, whereas it says that _POSIX_TIMERS must be defined and defined to a value greater than zero. However, this may not work, as the POSIX spec clearly states: "If the symbolic constant _POSIX_CPUTIME is defined, then the symbolic constant _POSIX_TIMERS shall also be defined by the implementation to have the value 200112L." If this doesn't work, I'll add more hacks for Darwin. llvm-svn: 171565
-
Manman Ren authored
rdar://11562117 llvm-svn: 171564
-
rdar://problem/12389806Jason Molenda authored
Have the disassembler's Instruction::Dump always insert at least one space character between an opcode and its arguments, don't let a long opcode name abut the arguments. llvm-svn: 171561
-
Ted Kremenek authored
llvm-svn: 171560
-
Chandler Carruth authored
llvm-svn: 171559
-
Daniel Malea authored
- now prints the correct PYTHONPATH - update dotest.py to use lldb -P result correctly - resolves TestPublicAPIHeaders test failure (on Linux) llvm-svn: 171558
-
Michael J. Spencer authored
llvm-svn: 171557
-
Manuel Klimek authored
Some of this is still pretty rough (note the load of FIXMEs), but it is strictly an improvement and fixes various bugs that were related to macro processing but are also imporant in non-macro use cases. Specific fixes: - correctly puts espaced newlines at the end of the line - fixes counting of white space before a token when escaped newlines are present - fixes parsing of "trailing" tokens when eof() is hit - puts macro parsing orthogonal to parsing other structure - general support for parsing of macro definitions Due to the fix to format trailing tokens, this change also includes a bunch of fixes to the c-index tests. llvm-svn: 171556
-
Fariborz Jahanian authored
__strong __block variables, perform objc_storeStrong on source and destination instead of direct move. This is done with -O0 and to improve some analysis. // rdar://12530881 llvm-svn: 171555
-
Andrew Kaylor authored
llvm-svn: 171554
-
Bill Wendling authored
The bit mask thing will be a thing of the past. It's not extensible enough. Get rid of its use here. Opt instead for using a vector to hold the attributes. Note: Some of this code will become obsolete once the rewrite is further along. llvm-svn: 171553
-
Sean Callanan authored
instead of failing to read. <rdar://problem/12958589> llvm-svn: 171552
-
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
-
Andrew Trick authored
llvm-svn: 171550
-
Jakub Staszak authored
because conditions in the next case prevented from doing anything nasty. llvm-svn: 171549
-
- Jan 04, 2013
-
-
Andrew Kaylor authored
llvm-svn: 171548
-
Daniel Malea authored
- requires memory allocation during expression evaluation - opened related bugzilla 14805 llvm-svn: 171547
-
Chad Rosier authored
llvm-svn: 171545
-
Jason Molenda authored
llvm-svn: 171542
-
Jakob Stoklund Olesen authored
A BumpPtrAllocator has an empty Deallocate() method, but Recycler::clear() would still call it for every single object ever allocated, bringing all those objects into cache. As a bonus, iplist::remove() will also write to the Prev/Next pointers on all the objects, so all those cache lines have to be written back to RAM before the pages are given back to the OS. Stop wasting time and memory bandwith by using the new clearAndLeakUnsafely() function to jettison all the recycled objects. llvm-svn: 171541
-
Jakob Stoklund Olesen authored
The iplist::clear() function can be quite expensive because it traverses the entire list, calling deleteNode() and removeNodeFromList() on each element. If node destruction and deallocation can be handled some other way, clearAndLeakNodesUnsafely() can be used to jettison all nodes without bringing them into cache. The function name is meant to be ominous. llvm-svn: 171540
-
Jakob Stoklund Olesen authored
The R600 target has test cases that exercises this code. llvm-svn: 171538
-
Paul Redmond authored
Since subtraction does not commute the loop vectorizer incorrectly vectorizes reductions such as x = A[i] - x. Disabling for now. llvm-svn: 171537
-
Eric Christopher authored
types and a FIXME for what we should be doing. Should solve the immediacy of PR12069 where our debug info is crashing another tool. llvm-svn: 171536
-
Michael Gottesman authored
llvm-svn: 171535
-
Michael Gottesman authored
Fixed up some DEBUG messages where I was putting in the text of a message the method where it was being called when I should have just prefixed the actual message with Pass::Method. Additionally I fixed some whitespace issues. llvm-svn: 171534
-
Michael J. Spencer authored
llvm-svn: 171533
-
Rafael Espindola authored
Thanks for dgregor for noticing it. llvm-svn: 171532
-
Michael J. Spencer authored
llvm-svn: 171531
-
Michael J. Spencer authored
llvm-svn: 171530
-
Michael J. Spencer authored
llvm-svn: 171529
-
Michael J. Spencer authored
llvm-svn: 171528
-
Michael J. Spencer authored
llvm-svn: 171526
-
Nadav Rotem authored
llvm-svn: 171525
-
Preston Gurd authored
returns early then it is slightly faster to execute a sequence of NOP instructions to wait until the return address is ready, as opposed to simply stalling on the ret instruction until the return address is ready. When compiling for X86 Atom only, this patch will run a pass, called "X86PadShortFunction" which will add NOP instructions where less than four cycles elapse between function entry and return. It includes tests. Patch by Andy Zhang. llvm-svn: 171524
-