Displaying 5 results from an estimated 5 matches for "headertype".
2009 Jun 14
5
[LLVMdev] ML types in LLVM
...e
and do my business. For access to the header, I just punch into that
part of the type (which happens to involve a negative offset from the
address). However, it seems that LLVM pointers always have to point to
the start of an object.
> Personally, I would create a struct type (hereafter "HeaderType") for the
> entire GC header; when you want to access a header field, just cast the
> base pointer to i8*, subtract the allocation size of HeaderType, cast the
> result to HeaderType*, and getelementptr from there.
That's what I'm doing right now; the HeaderType happens to b...
2009 Jun 13
0
[LLVMdev] ML types in LLVM
...; i32* and then use getelementptr -1. Is there a better way?
I think it depends on (1) exactly how your runtime environment lays out
the header and (2) whether you're trying to create portable IR (as
opposed
to creating IR portably).
Personally, I would create a struct type (hereafter "HeaderType") for
the
entire GC header; when you want to access a header field, just cast the
base pointer to i8*, subtract the allocation size of HeaderType, cast
the
result to HeaderType*, and getelementptr from there. That doesn't
make portable IR, of course, but in the absence of an ungetele...
2009 Jun 14
0
[LLVMdev] ML types in LLVM
...r access to the header, I just punch into that
> part of the type (which happens to involve a negative offset from the
> address). However, it seems that LLVM pointers always have to point to
> the start of an object.
>
>> Personally, I would create a struct type (hereafter "HeaderType") for the
>> entire GC header; when you want to access a header field, just cast the
>> base pointer to i8*, subtract the allocation size of HeaderType, cast the
>> result to HeaderType*, and getelementptr from there.
>
> That's what I'm doing right now; the H...
2009 Jun 13
4
[LLVMdev] ML types in LLVM
Good afternoon!
I'm trying to write an LLVM codegen for a Standard ML compiler
(MLton). So far things seem to match up quite nicely, but I have hit
two sticking points. I'm hoping LLVM experts might know how to handle
these two cases better.
1: In ML we have some types that are actually one of several possible
types. Expressed in C this might be thought of as a union. The codegen
only
2003 Sep 03
4
Samba 3 - ntlm_auth ntlmssp failing
...Should I file a bug
report or is there some setting that needs to be made on the PDC?
2003/09/03 08:15:40| authenticateValidateUser: Validating Auth_user
request '(nil)'.
2003/09/03 08:15:40| authenticateValidateUser: Auth_user_request was
NULL!
2003/09/03 08:15:40| authenticateFixHeader: headertype:34 authuser:(nil)
2003/09/03 08:15:40| authenticateNTLMFixErrorHeader: Sending type:34
header: 'NTLM'
2003/09/03 08:15:40| authenticateFixErrorHeader: Sending type:34 header:
'Basic realm="Proxy"'
2003/09/03 08:15:40| authenticateAuthUserRequestLock auth_user request
'...