Displaying 3 results from an estimated 3 matches for "getelfarchtype".
2012 Jun 30
2
[LLVMdev] gcc bug?..segfault problem with getElfArchType.
I've been debugging a segfault issue with the elfreader and I would like
to point out something that I have noticed.
ELF.h declares an inline function, getElfArchType (MemoryBuffer
*Object). When this function is called from
ObjectFile::createELFObjectFile the pointer to Object was getting
corrupted. The only thing that distinguished this pointer was that it
was declared as a unique_ptr. The flow from when it was created to
getElfArchType is pretty direc...
2012 Jul 01
0
[LLVMdev] gcc bug?..segfault problem with getElfArchType.
On Sat, Jun 30, 2012 at 7:58 AM, Sid Manning <sidneym at codeaurora.org> wrote:
>
> I've been debugging a segfault issue with the elfreader and I would like to
> point out something that I have noticed.
>
> ELF.h declares an inline function, getElfArchType (MemoryBuffer *Object).
> When this function is called from ObjectFile::createELFObjectFile the
> pointer to Object was getting corrupted. The only thing that distinguished
> this pointer was that it was declared as a unique_ptr. The flow from when
> it was created to getElfArchType...
2012 Jul 01
1
[LLVMdev] gcc bug?..segfault problem with getElfArchType.
...wrote:
> On Sat, Jun 30, 2012 at 7:58 AM, Sid Manning<sidneym at codeaurora.org> wrote:
>>
>> I've been debugging a segfault issue with the elfreader and I would like to
>> point out something that I have noticed.
>>
>> ELF.h declares an inline function, getElfArchType (MemoryBuffer *Object).
>> When this function is called from ObjectFile::createELFObjectFile the
>> pointer to Object was getting corrupted. The only thing that distinguished
>> this pointer was that it was declared as a unique_ptr. The flow from when
>> it was created t...