Displaying 3 results from an estimated 3 matches for "getsectioncontentsasarray".
2017 Dec 05
2
[LLD] Slow callstacks in gdb
...lding with gcc 6.2.1 and linking with lld trunk, I get a link error:
>
> bin-lld/ld: error: lib/libse.a(file1.cpp.o): unaligned data
That means that file1.cpp.o has an invalid sh_offset. Can you post a
readelf -SW of it? How is it being created?
The error is from ELF.h: ELFFile<ELFT>::getSectionContentsAsArray.
Cheers,
Rafael
2017 Dec 02
2
[LLD] Slow callstacks in gdb
Martin Richtarsky <s at martinien.de> writes:
> Rafael Avila de Espindola wrote :
>>> Maybe gdb needs to fall back to slower line number resolution because
>>> e.g.
>>> low and high bounds cannot be retrieved and debug_line_address is 0?
>>
>> It is hard to know without a reproducible. I tried gdb on clang itself
>> build with both clang and
2020 Sep 18
2
Making library calls for obj2yaml functionalities
James,
Thanks for the detailed response. Please see my thoughts inline.
On Thu, Sep 17, 2020 at 12:33 AM James Henderson <
jh7370.2008 at my.bristol.ac.uk> wrote:
> Hi Rahman,
>
> Traditionally, the ability to read sections is a feature added to
> llvm-readobj/llvm-readelf. For some sections, it delegates to methods in
> places like the Object library and BinaryFormat, but