Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
llvm
/
b8e9ac834a9c253e3f8f5caa8f229bafba0b4fcf
/
lib
/
CodeGen
/
StackProtector.cpp
50dead0
Revert yesterday's change by removing the LLVMContext parameter to AllocaInst and MallocInst.
by Owen Anderson
· 15 years ago
9adc0ab
Move EVER MORE stuff over to LLVMContext.
by Owen Anderson
· 15 years ago
333c400
This started as a small change, I swear. Unfortunately, lots of things call the [I|F]CmpInst constructors. Who knew!?
by Owen Anderson
· 15 years ago
777d230
Rename PaddedSize to AllocSize, in the hope that this
by Duncan Sands
· 15 years ago
5601699
When we split a basic block, there's a default branch to the newly created BB.
by Bill Wendling
· 16 years ago
ceb4d1a
Rename getABITypeSize to getTypePaddedSize, as suggested by Chris.
by Duncan Sands
· 16 years ago
5734450
Rename stackprotector_create intrinsic to stackprotector.
by Bill Wendling
· 16 years ago
733bbc5
Remove the stackprotector_check intrinsic. Use a volatile load instead.
by Bill Wendling
· 16 years ago
c3348a7
- Use "moveAfter" instead of "remove/insert" of a basic block.
by Bill Wendling
· 16 years ago
e9e6bdf
Implement stack protectors as function attributes: "ssp" and "sspreq".
by Bill Wendling
· 16 years ago
22511ed
Small simplification. Use the iterator already present as the insertion point.
by Bill Wendling
· 16 years ago
7205677
- Make sure that we don't over-increment the iterator when going through the
by Bill Wendling
· 16 years ago
b7c6ebc
- Modify the stack protector algorithm so that the stack slot is allocated in
by Bill Wendling
· 16 years ago
848693c
Remove unneeded header file.
by Bill Wendling
· 16 years ago
1fb615f
Don't build a vector of returns. Just modify the Function in the loop.
by Bill Wendling
· 16 years ago
703ccfe
The size limit is for individual arrays. So if any array has more than 8 bytes
by Bill Wendling
· 16 years ago
4c3a1d8
- Rename stackprotector_{prologue,epilogue} to stackprotector_{create,check}.
by Bill Wendling
· 16 years ago
89c5cc6
Adjust the stack protector heuristic to care about only arrays or calls to
by Bill Wendling
· 16 years ago
b2a4298
Implement the stack protector stack accesses via intrinsics:
by Bill Wendling
· 16 years ago
1508606
Remove dead variable.
by Bill Wendling
· 16 years ago
fa75dc6
Simplify the allocated size calculation.
by Bill Wendling
· 16 years ago
f0eaa9a
Fix comment
by Bill Wendling
· 16 years ago
613f774
Some code simplification. It now doesn't generate a prologue if the epilogue
by Bill Wendling
· 16 years ago
4a3a851
Small simplification of the stack guard type.
by Bill Wendling
· 16 years ago
b7c2c12
- Add a "getOrInsertGlobal" method to the Module class. This acts similarly to
by Bill Wendling
· 16 years ago
80a320d
Update in response to feedback from Chris:
by Bill Wendling
· 16 years ago
2b58ce5
Initial checkin for stack protectors. Here's what it does:
by Bill Wendling
· 16 years ago