- Nov 16, 2011
-
-
Evan Cheng authored
llvm-svn: 144789
-
Evan Cheng authored
and code model. This eliminates the need to pass OptLevel flag all over the place and makes it possible for any codegen pass to use this information. llvm-svn: 144788
-
Bob Wilson authored
There may be many invokes that share one landing pad, and the previous code would record the landing pad once for each invoke. Besides the wasted effort, a pair of volatile loads gets inserted every time the landing pad is processed. The rest of the code can get optimized away when a landing pad is processed repeatedly, but the volatile loads remain, resulting in code like: LBB35_18: Ltmp483: ldr r2, [r7, #-72] ldr r2, [r7, #-68] ldr r2, [r7, #-72] ldr r2, [r7, #-68] ldr r2, [r7, #-72] ldr r2, [r7, #-68] ldr r2, [r7, #-72] ldr r2, [r7, #-68] ldr r2, [r7, #-72] ldr r2, [r7, #-68] ldr r2, [r7, #-72] ldr r2, [r7, #-68] ldr r2, [r7, #-72] ldr r2, [r7, #-68] ldr r2, [r7, #-72] ldr r2, [r7, #-68] ldr r4, [r7, #-72] ldr r2, [r7, #-68] llvm-svn: 144787
-
Daniel Dunbar authored
implementation use of <math.h>. llvm-svn: 144786
-
Daniel Dunbar authored
where available. llvm-svn: 144785
-
Craig Topper authored
llvm-svn: 144784
-
Richard Smith authored
not safely derived. Don't allow lvalue-to-rvalue conversions on the result of dereferencing such a pointer. llvm-svn: 144783
-
rdar://problem/10444602Bob Wilson authored
This same basic code was in the older version of the SjLj exception handling, but it was removed in the recent revisions to that code. It needs to be there. llvm-svn: 144782
-
rdar://problem/10444602Bob Wilson authored
The EmitBasePointerRecalculation function has 2 problems, one minor and one fatal. The minor problem is that it inserts the code at the setjmp instead of in the dispatch block. The fatal problem is that at the point where this code runs, we don't know whether there will be a base pointer, so the entire function is a no-op. The base pointer recalculation needs to be handled as it was before, by inserting a pseudo instruction that gets expanded late. Most of the support for the old approach is still here, but it no longer has any connection to the eh_sjlj_dispatchsetup intrinsic. Clean up the parts related to the intrinsic and just generate the pseudo instruction directly. llvm-svn: 144781
-
Greg Clayton authored
After recent changes we weren't reaping child processes resulting in many zombie processes. This was fixed by adding more settings to the ProcessLaunchOptions class that allow clients to specify a callback function and baton to be notified when their process dies. If one is not supplied a default callback will be used that "does the right thing". Cleaned up a race condition in the ProcessGDBRemote class that would attempt to monitor when debugserver died. Added an extra boolean to the process monitor callbacks that indicate if a process exited or not. If your process exited with a zero exit status and no signal, both items could be zero. Modified the process monitor functions to not require a callback function in order to reap the child process. llvm-svn: 144780
-
Douglas Gregor authored
llvm-svn: 144779
-
Ted Kremenek authored
llvm-svn: 144778
-
Craig Topper authored
llvm-svn: 144777
-
Evan Cheng authored
llvm-svn: 144776
-
Nick Lewycky authored
llvm-svn: 144774
-
Nick Lewycky authored
looking at the size of the pointee. Fixes PR11390! llvm-svn: 144773
-
Evan Cheng authored
If the 2addr instruction has other kills, don't move it below any other uses since we don't want to extend other live ranges. llvm-svn: 144772
-
Evan Cheng authored
RescheduleKillAboveMI() must backtrack to before the rescheduled DBG_VALUE instructions. rdar://10451185 llvm-svn: 144771
-
-
Eli Friedman authored
llvm-svn: 144769
-
Eli Friedman authored
llvm-svn: 144768
-
Eli Friedman authored
Add a couple asserts so it will be easier to debug if we accidentally pass indexed loads/stores to the legalizer. llvm-svn: 144767
-
-
Argyrios Kyrtzidis authored
do not crash if no client container is registered for a declaration context. llvm-svn: 144765
-
Argyrios Kyrtzidis authored
llvm-svn: 144764
-
Argyrios Kyrtzidis authored
per file. llvm-svn: 144763
-
Argyrios Kyrtzidis authored
in the ASTUnit changed. llvm-svn: 144762
-
Eli Friedman authored
llvm-svn: 144761
-
Sean Callanan authored
NULL-terminated C string to store the contents of the expression prefix file. This meant that expressions, when printing the contents of the prefix into the expression's text, would invariably put in bad data after the end of the expression. Now, instead, we store the prefix contents in a std::string, which handles null-termination correctly. llvm-svn: 144760
-
Michael J. Spencer authored
llvm-svn: 144759
-
Kostya Serebryany authored
llvm-svn: 144758
-
Michael J. Spencer authored
llvm-svn: 144757
-
Michael J. Spencer authored
llvm-svn: 144756
-
Michael J. Spencer authored
llvm-svn: 144755
-
Daniel Dunbar authored
llvm-svn: 144754
-
Daniel Dunbar authored
llvm-svn: 144753
-
Daniel Dunbar authored
need it for compilerrt_abort(). llvm-svn: 144752
-
Daniel Dunbar authored
a real boy. - The utility module needs to be included into every produced library, because we don't have enough dependency tracking to know exactly which other modules might require the utilities. llvm-svn: 144751
-
Daniel Dunbar authored
directly including system headers. llvm-svn: 144750
-
Daniel Dunbar authored
llvm-svn: 144749
-