[llvm-commits] [llvm] r58673 - in /llvm/trunk: include/llvm/CodeGen/Passes.h lib/CodeGen/LLVMTargetMachine.cpp lib/CodeGen/StackProtector.cpp
Evan Cheng
evan.cheng at apple.com
Tue Nov 4 10:06:07 PST 2008
On Nov 4, 2008, at 5:28 AM, Chris Lattner wrote:
>
>
>> + StackProtFrameSlot = new
>> AllocaInst(PointerType::getUnqual(Type::Int8Ty),
>> + "StackProt_Frame", &InsertPt);
>
> What ensures that this alloca ends up in the right place in the stack
> frame at codegen time?
This is unclear.Can we give it a special name that starts with "__"
and sdisel will mark the corresponding stack object. PEI will have to
make sure it's in the right location. I don't particularly like it but
I can't think of anything better. Any ideas?
Evan
More information about the llvm-commits
mailing list