Displaying 3 results from an estimated 3 matches for "defreferenced".
2009 Sep 24
0
[LLVMdev] MemoryBuffer
...it, and with a
>> sizable chunk of memory that it may be, can cause the program to
>> freeze for a sec. It would also be nice to not require that as you
>> could create a MemoryBuffer that references some *part* of an existing
>> MemoryBuffer that does not have a nul as the defreferenced end pointer
>> that you are giving in it. Mostly I just do not understand why this
>> restriction exists, so I am just looking for comprehension.
Out of curiosity, what code in Clang is optimized by doing a pointer
derefence then compare to 0, rather then just comparing two points
dir...
2009 Sep 24
0
[LLVMdev] MemoryBuffer
...o prevent that I would need to copy it, and with a
sizable chunk of memory that it may be, can cause the program to
freeze for a sec. It would also be nice to not require that as you
could create a MemoryBuffer that references some *part* of an existing
MemoryBuffer that does not have a nul as the defreferenced end pointer
that you are giving in it. Mostly I just do not understand why this
restriction exists, so I am just looking for comprehension.
2009 Sep 24
7
[LLVMdev] MemoryBuffer
I was writing something using MemoryBuffer, and while looking through
its code I came across line 59:
assert(BufEnd[0] == 0 && "Buffer is not null terminated!");
I am curious if the MemoryBuffer only supports non-binary, non-null
embedded files, or if it supports binary as well. I do not see
anything inherently not expecting binary files except for that one
line, so I am