search for: createelfobjectfil

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

Did you mean: createelfobjectfile
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 direct. The segfault only happens only at optimization level -O0. The segfault doesn't happe...
2012 Jul 01
0
[LLVMdev] gcc bug?..segfault problem with getElfArchType.
...t 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 is pretty direct. > > The segfault only happens only at optimization level -O0. > The...
2012 Jul 01
1
[LLVMdev] gcc bug?..segfault problem with getElfArchType.
...e: >> >> 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 direct. >> >> The segfault only happens only at optimization...