Owen Anderson
|
1d0be15f89
Push LLVMContexts through the IntegerType APIs.
|
16 سال پیش |
Owen Anderson
|
50dead06ff
Revert yesterday's change by removing the LLVMContext parameter to AllocaInst and MallocInst.
|
16 سال پیش |
Owen Anderson
|
9adc0abad3
Move EVER MORE stuff over to LLVMContext.
|
16 سال پیش |
Owen Anderson
|
333c400965
This started as a small change, I swear. Unfortunately, lots of things call the [I|F]CmpInst constructors. Who knew!?
|
16 سال پیش |
Duncan Sands
|
777d2306b3
Rename PaddedSize to AllocSize, in the hope that this
|
16 سال پیش |
Bill Wendling
|
5601699d7c
When we split a basic block, there's a default branch to the newly created BB.
|
16 سال پیش |
Duncan Sands
|
ceb4d1aecb
Rename getABITypeSize to getTypePaddedSize, as
|
16 سال پیش |
Bill Wendling
|
5734450d40
Rename stackprotector_create intrinsic to stackprotector.
|
17 سال پیش |
Bill Wendling
|
733bbc5320
Remove the stackprotector_check intrinsic. Use a volatile load instead.
|
17 سال پیش |
Bill Wendling
|
c3348a77f7
- Use "moveAfter" instead of "remove/insert" of a basic block.
|
17 سال پیش |
Bill Wendling
|
e9e6bdf27f
Implement stack protectors as function attributes: "ssp" and "sspreq".
|
17 سال پیش |
Bill Wendling
|
22511ed2fe
Small simplification. Use the iterator already present as the insertion point.
|
17 سال پیش |
Bill Wendling
|
7205677a46
- Make sure that we don't over-increment the iterator when going through the
|
17 سال پیش |
Bill Wendling
|
b7c6ebcb47
- Modify the stack protector algorithm so that the stack slot is allocated in
|
17 سال پیش |
Bill Wendling
|
848693c254
Remove unneeded header file.
|
17 سال پیش |
Bill Wendling
|
1fb615f820
Don't build a vector of returns. Just modify the Function in the loop.
|
17 سال پیش |
Bill Wendling
|
703ccfe053
The size limit is for individual arrays. So if any array has more than 8 bytes
|
17 سال پیش |
Bill Wendling
|
4c3a1d8d2b
- Rename stackprotector_{prologue,epilogue} to stackprotector_{create,check}.
|
17 سال پیش |
Bill Wendling
|
89c5cc6c79
Adjust the stack protector heuristic to care about only arrays or calls to
|
17 سال پیش |
Bill Wendling
|
b2a4298ce4
Implement the stack protector stack accesses via intrinsics:
|
17 سال پیش |
Bill Wendling
|
1508606ee8
Remove dead variable.
|
17 سال پیش |
Bill Wendling
|
fa75dc647c
Simplify the allocated size calculation.
|
17 سال پیش |
Bill Wendling
|
f0eaa9a233
Fix comment
|
17 سال پیش |
Bill Wendling
|
613f77439e
Some code simplification. It now doesn't generate a prologue if the epilogue
|
17 سال پیش |
Bill Wendling
|
4a3a851182
Small simplification of the stack guard type.
|
17 سال پیش |
Bill Wendling
|
b7c2c1246f
- Add a "getOrInsertGlobal" method to the Module class. This acts similarly to
|
17 سال پیش |
Bill Wendling
|
80a320d974
Update in response to feedback from Chris:
|
17 سال پیش |
Bill Wendling
|
2b58ce5ab4
Initial checkin for stack protectors. Here's what it does:
|
17 سال پیش |