search for: rounduptoalignment

Displaying 3 results from an estimated 3 matches for "rounduptoalignment".

2013 Jul 18
3
[LLVMdev] Request to review patch for bug #14792
http://llvm.org/bugs/show_bug.cgi?id=14792 Problem: In the i386 ABI Page 3-10, it said that the stack is aligned. However, the two example code show that does not handle the alignment correctly when using variadic function. For example, if the size of the first argument is 17, the overflow_arg_area in va_list will be set to "address of first argument + 16" instead of "address of
2013 Jul 20
0
[LLVMdev] Request to review patch for bug #14792
...cksize. >> >> Please read http://llvm.org/docs/DeveloperPolicy.html . In >> particular, patches should be sent to llvm-commits, and patches should >> generally include a regression test. >> >> In terms of the code, you might want to consider using >> llvm::RoundUpToAlignment. >> >> -Eli > >
2008 Apr 17
1
[LLVMdev] Being able to know the jitted code-size before emitting
Thx again Evan for the review. Here's a new patch for the JIT in itself. The major changes are: 1) A JITMemoryManager now has a flag saying "I require to know the size of what you want to emit" 2) DwarfJITEmitter is augmented with GetSize* functions 3) JITEmitter::startFunction checks if the JITMemoryManager requires to know the size. If so, it computes it and gives it through the