- Nov 07, 2008
-
-
Bill Wendling authored
LLVM IR code and not in the selection DAG ISel. This is a cleaner solution. - Fix the heuristic for determining if protectors are necessary. The previous one wasn't checking the proper type size. llvm-svn: 58824
-
Bill Wendling authored
llvm-svn: 58823
-
Bill Wendling authored
llvm-svn: 58822
-
- Nov 06, 2008
-
-
Mon P Wang authored
when simplify a vector. llvm-svn: 58820
-
Bill Wendling authored
in it, then emit stack protectors. llvm-svn: 58819
-
Bill Wendling authored
llvm-svn: 58815
-
Devang Patel authored
llvm-svn: 58814
-
Duncan Sands authored
llvm-svn: 58801
-
Bill Wendling authored
- Get rid of "HasStackProtector" in MachineFrameInfo. - Modify intrinsics to tell which are doing what with memory. llvm-svn: 58799
-
Mon P Wang authored
llvm-svn: 58796
-
Bill Wendling authored
"alloca". llvm-svn: 58792
-
Bill Wendling authored
- stackprotector_prologue creates a stack object and stores the guard there. - stackprotector_epilogue reads the stack guard from the stack position created by stackprotector_prologue. - The PrologEpilogInserter was changed to make sure that the stack guard is first on the stack frame. llvm-svn: 58791
-
Devang Patel authored
llvm-svn: 58786
-
- Nov 05, 2008
-
-
Duncan Sands authored
llvm-svn: 58753
-
Evan Cheng authored
llvm-svn: 58751
-
Bill Wendling authored
llvm-svn: 58741
-
Bill Wendling authored
llvm-svn: 58740
-
Bill Wendling authored
llvm-svn: 58739
-
Owen Anderson authored
llvm-svn: 58738
-
Bill Wendling authored
isn't going to be generated. llvm-svn: 58734
-
- Nov 04, 2008
-
-
Bill Wendling authored
llvm-svn: 58728
-
Bill Wendling authored
"getOrInsertFunction" in that it either adds a new declaration of the global and returns it, or returns the current one -- optionally casting it to the correct type. - Use the new getOrInsertGlobal in the stack protector code. - Use "splitBasicBlock" in the stack protector code. llvm-svn: 58727
-
Owen Anderson authored
First pass at checking for the creation of a new join point when doing pre-alloc splitting. This is not turned on yet. llvm-svn: 58726
-
Bill Wendling authored
- Use enums instead of magic numbers. - Rework algorithm to use the bytes size from the target to determine when to emit stack protectors. - Get rid of "propolice" in any comments. - Renamed an option to its expanded form. - Other miscellanenous changes. More changes will come after this. llvm-svn: 58723
-
Dale Johannesen authored
llvm-svn: 58717
-
Duncan Sands authored
llvm-svn: 58709
-
Duncan Sands authored
SELECT_CC. llvm-svn: 58706
-
Nuno Lopes authored
llvm-svn: 58690
-
Oscar Fuentes authored
llvm-svn: 58676
-
Bill Wendling authored
* The prologue is modified to read the __stack_chk_guard global and insert it onto the stack. * The epilogue is modified to read the stored guard from the stack and compare it to the original __stack_chk_guard value. If they differ, then the __stack_chk_fail() function is called. * The stack protector needs to be first on the stack (after the parameters) to catch any stack-smashing activities. Front-end support will follow after a round of beta testing. llvm-svn: 58673
-
- Nov 03, 2008
-
-
Dale Johannesen authored
work correctly, and bring over a late change to ppcf128 SetCC handling. llvm-svn: 58642
-
Duncan Sands authored
sized integers like i129, and also reduce the number of assumptions made about how vaarg is implemented. This still doesn't work correctly for small integers like (eg) i1 on x86, since x86 passes each of them (essentially an i8) in a 4 byte stack slot, so the pointer needs to be advanced by 4 bytes not by 1 byte as now. But this is no longer a LegalizeTypes problem (it was also wrong in LT before): it is a bug in the operation expansion in LegalizeDAG: now LegalizeTypes turns an i1 vaarg into an i8 vaarg which would work fine if only the i8 vaarg was turned into correct code later. llvm-svn: 58635
-
Duncan Sands authored
10 bytes long, but is passed in 12/16 bytes). llvm-svn: 58608
-
Matthijs Kooijman authored
llvm-svn: 58606
-
Owen Anderson authored
llvm-svn: 58591
-
- Nov 02, 2008
-
-
Owen Anderson authored
exist before. Updating the live intervals in that care is tricky in the general case. Evan, if you see a tighter guard condition for this, let me know. llvm-svn: 58560
-
- Nov 01, 2008
-
-
Mon P Wang authored
target intrinsics that touches memory llvm-svn: 58548
-
- Oct 31, 2008
-
-
Anton Korobeynikov authored
Based on patch by Martin Nowack! llvm-svn: 58536
-
Dan Gohman authored
llvm-svn: 58524
-
Bill Wendling authored
llvm-svn: 58523
-