Displaying 8 results from an estimated 8 matches for "sizealign".
2012 Mar 14
0
[LLVMdev] ARM EHABI support in LLVM + clang
...s default: return _URC_FAILURE. offset was == 0x808f and len was == 0xff. (((offset & 1) << 1) | (len & 1)) was == 3. 3 is an undefined descriptor as per ARM EHABI spec section 9.2. DwarfException::EmitExceptionTable Asm->EmitULEB128(TTypeBaseOffset, "@TType base offset", SizeAlign); was generating ".asciz "\217\200" @ @TType base offset" in .s file leading to the problem.
I would like to know whether anyone managed to use ARM EHABI successfully. Also I can see from 3.0 release html notes EHABI support might be there in 3.1, html com...
2007 Aug 24
0
[LLVMdev] Turning on exception handling codegen
Hi Duncan,
> > I'm trying it on 4.0. On 4.2, I'm getting this problem during bootstrapping:
> >
> > ccAMeZbg.s:111:non-relocatable subtraction expression,
> > "___gxx_personality_v0" minus "L0"
> > ccAMeZbg.s:111:symbol: "___gxx_personality_v0" can't be undefined in a
> > subtraction expression
>
> this is the
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
2007 Aug 24
5
[LLVMdev] Turning on exception handling codegen
Hi Bill,
> I'm trying it on 4.0. On 4.2, I'm getting this problem during bootstrapping:
>
> ccAMeZbg.s:111:non-relocatable subtraction expression,
> "___gxx_personality_v0" minus "L0"
> ccAMeZbg.s:111:symbol: "___gxx_personality_v0" can't be undefined in a
> subtraction expression
this is the darwin assembler that barfs, right? It
2008 Feb 04
0
[LLVMdev] Exception handling in JIT
...Types;
> +
> + unsigned TotalSize = sizeof(int8_t) + // LPStart format
> + sizeof(int8_t) + // TType format
> + AsmPrinter::SizeULEB128(TypeOffset) + //
> TType base offset
> + TypeOffset;
> +
> + unsigned SizeAlign = (4 - TotalSize) & 3;
> +
> + // Begin the exception table.
> + MCE->emitAlignment(4);
> + for (unsigned i = 0; i != SizeAlign; ++i) {
> + MCE->emitByte(0);
> + // Asm->EOL("Padding");
> + }
> +
> + unsigned char* DwarfExceptionTable = (...
2008 Feb 01
2
[LLVMdev] Exception handling in JIT
Dear all,
Here's a new patch with Evan's comments (thx Evan!) and some cleanups.
Now the (duplicated) exception handling code is in a new file:
lib/ExecutionEngine/JIT/JITDwarfEmitter.
This patch should work on linux/x86 and linux/ppc (tested).
Nicolas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: jit-exceptions.patch
URL:
2007 Dec 11
0
[LLVMdev] Exception handling in JIT
...Types;
> +
> + unsigned TotalSize = sizeof(int8_t) + // LPStart format
> + sizeof(int8_t) + // TType format
> + AsmPrinter::SizeULEB128(TypeOffset) + //
> TType base offset
> + TypeOffset;
> +
> + unsigned SizeAlign = (4 - TotalSize) & 3;
> +
> + // Begin the exception table.
> + EmitAlignment(4);
> + for (unsigned i = 0; i != SizeAlign; ++i) {
> + EmitInt8(0);
> + // Asm->EOL("Padding");
> + }
> +
> + unsigned char* DwarfExceptionTable = CurBufferPtr;
>...
2007 Dec 10
2
[LLVMdev] Exception handling in JIT
Hi everyone,
Here's a patch that enables exception handling when jitting. I've
copy/pasted _many_code from lib/Codegen/DwarfWriter.cpp, so we may need
to factorize it, but the functionality is there and I'm very happy with
it :)
lli should now be able to execute the output from llvm-gcc when using
exceptions (the UnwindInst instruction is not involved in this patch).
Just add the