- May 25, 2012
-
-
Rafael Espindola authored
Similar fixes for function and member template to follow as I write the testcases. llvm-svn: 157470
-
Rafael Espindola authored
llvm-svn: 157469
-
Duncan Sands authored
with arbitrary topologies (previously it would give up when hitting a diamond in the use graph for example). The testcase from PR12764 is now reduced from a pile of additions to the optimal 1617*%x0+208. In doing this I changed the previous strategy of dropping all uses for expression leaves to one of dropping all but one use. This works out more neatly (but required a bunch of tweaks) and is also safer: some recently fixed bugs during recursive linearization were because the linearization code thinks it completely owns a node if it has no uses outside the expression it is linearizing. But if the node was also in another expression that had been linearized (and thus all uses of the node from that expression dropped) then the conclusion that it is completely owned by the expression currently being linearized is wrong. Keeping one use from within each linearized expression avoids this kind of mistake. llvm-svn: 157467
-
Dmitry Vyukov authored
llvm-svn: 157466
-
Dmitry Vyukov authored
llvm-svn: 157465
-
Dmitry Vyukov authored
depending on -m32/-m64 addr2line says either e.g. __xsan_strnlen or just strnlen llvm-svn: 157464
-
Manuel Klimek authored
llvm-svn: 157462
-
Richard Smith authored
llvm-svn: 157459
-
Richard Smith authored
-Wsometimes-uninitialized. This detects cases where an explicitly-written branch inevitably leads to an uninitialized variable use (so either the branch is dead code or there is an uninitialized use bug). This chunk of warnings tentatively lives within -Wuninitialized, in order to give it more visibility to existing Clang users. llvm-svn: 157458
-
Jason Molenda authored
llvm-svn: 157456
-
Andrew Trick authored
llvm-svn: 157455
-
Jason Molenda authored
these functions will end in the sequence mov %rbp, %rsp ret call __stack_chk_fail instead of the usual mov, ret. The x86 assembly profiler only looked for functions ending in 'ret' and added the Unwind row describing how to set the CFA based on that -- the addition of the call insn (which is jumped to earlier in the function body) threw off that inspection. Resolves the need to "step" twice to get out of these functions when doing source-level stepping. <rdar://problem/11469705> llvm-svn: 157454
-
Anna Zaks authored
Load custom plugins when running scan-build. This is useful when additional static analysis Checkers must be provided via clang's plugin interface. Loading additional plugins can now be done via the scan-build call: scan-build -load-plugin <plugin.so> A patch by Thomas Hauth. llvm-svn: 157452
-
Bill Wendling authored
llvm-svn: 157451
-
Bill Wendling authored
llvm-svn: 157450
-
Jakob Stoklund Olesen authored
Store (debugging) register names as offsets into a string table instead of as char pointers. llvm-svn: 157449
-
Eli Friedman authored
llvm-svn: 157446
-
Seth Cantrell authored
if the value isn't an unsigned char or EOF behavior is undefined (and on Windows there's an assertion) llvm-svn: 157445
-
Richard Smith authored
llvm-svn: 157440
-
rdar://problem/11529853Greg Clayton authored
Sending async packets can deadlock a program on darwin. We currently allow breakpoint packets and memory read/write packets (for software breakpoints) to be sent while a program is running. In the GDB remote plug-in, we will interrupt the run, send the async packet and resume (currently with the continue packet that caused the program to resume). If the GDB server supports the "vCont" packet, we might have initially continued with each thread stating it should continue. If new threads show up while we are stopped, which happend when running GCD, we can end up with new threads that we aren't mentioning in the continue list. So we start with a thread list of 1,2,3 and continue: continue thread 1, continue thread 2, continue thread 3 Now we interrupt and set a breakpoint and we actually have threads 1,2,3,4 now when we are about to resume, yet we send: continue thread 1, continue thread 2, continue thread 3 Any thread that isn't mentioned is currently going to stay suspended. This causes the deadlock. llvm-svn: 157439
-
Kaelyn Uhrain authored
llvm-svn: 157438
-
Andrew Trick authored
(except the part about choosing direction) llvm-svn: 157437
-
Fariborz Jahanian authored
llvm-svn: 157436
-
Fariborz Jahanian authored
backing two propeties because proprty names match except for first letter being of different case. // rdar://11528439, [PR12936]. llvm-svn: 157435
-
Eli Friedman authored
llvm-svn: 157434
-
Jakob Stoklund Olesen authored
llvm-svn: 157433
-
Jakob Stoklund Olesen authored
Like this: foreach i = 0-127 in ... Use braces for composite ranges: foreach i = {0-3,9-7} in ... llvm-svn: 157432
-
Jakob Stoklund Olesen authored
Only fully expanded Records should go into RecordKeeper. llvm-svn: 157431
-
Jakob Stoklund Olesen authored
Use static type checking. llvm-svn: 157430
-
Andrew Trick authored
llvm-svn: 157429
-
Andrew Trick authored
llvm-svn: 157428
-
Andrew Trick authored
The Hazard checker implements in-order contraints, or interlocked resources. Ready instructions with hazards do not enter the available queue and are not visible to other heuristics. The major code change is the addition of SchedBoundary to encapsulate the state at the top or bottom of the schedule, including both a pending and available queue. The scheduler now counts cycles in sync with the hazard checker. These are minimum cycle counts based on known hazards. Targets with no itinerary (x86_64) currently remain at cycle 0. To fix this, we need to provide some maximum issue width for all targets. We also need to add the concept of expected latency vs. minimum latency. llvm-svn: 157427
-
Andrew Trick authored
llvm-svn: 157426
-
Andrew Trick authored
llvm-svn: 157425
-
Andrew Trick authored
llvm-svn: 157424
-
Andrew Trick authored
llvm-svn: 157423
-
Andrew Trick authored
llvm-svn: 157422
-
David Blaikie authored
Patch by Nicklas Bo Jensen. llvm-svn: 157421
-
Eli Friedman authored
Implement the C++11 discarded value expression rules for volatile lvalues. <rdar://problem/10790820>. llvm-svn: 157420
-
- May 24, 2012
-
-
Justin Holewinski authored
landed in LLVM core llvm-svn: 157418
-