Displaying 4 results from an estimated 4 matches for "createatom".
Did you mean:
createatoms
2015 Jun 15
2
[LLVMdev] [lld] How do I prevent .note sections from being eliminated?
...on classes. If
> you need to copy sections from input to output, use SDataSection (from
> Hexagon) as a reference point.
>
Hi Simon,
Thanks for the reply. I have a few more follow up questions.
ELFFile::handleSectionWithNoSymbols() returns false for SHT_NOTE. This
means that ELFFile::createAtoms() never creates an atom for .note sections.
It seems like even if I use something like SDataSection, then I will still
need to modify ELFFIle::handleSectionWithNoSymbols(). What is the best
way to do this? Should I make the function virtual and override it in
AMDGPUELFFile.cpp?
In ELFDefinedAto...
2015 Jan 12
2
[LLVMdev] [lld] ARM/Thumb atom forming
...ructions
> have zero bit of st_value field set (see 4.5.3).
> General ELF Reference says that st_value holds virtual address offset
> from the beginning of the section
> for executable files and shared objects (see Chapter 4 - Symbol Values).
>
> When atoms are created in ELFFile::createAtoms, their content size and
> content data, and their addresses are formed using st_value.
> Since st_value has zero bit set for symbols addressing Thumb
> instructions, corresponding atoms' addresses are always
> one byte ahead of real values.
> Content size and, therefore, content...
2015 Jun 13
2
[LLVMdev] [lld] How do I prevent .note sections from being eliminated?
Hi,
I'm working on an AMDGPU target for lld, and I'm trying to link a single
.o file with a .note section, but the .note section is missing from the
resulting a.out file. How can I control which sections get copied over
to the executable? Is there a target hook to implement?
Thanks,
Tom
2015 May 07
2
[LLVMdev] [lld] Wrong references for C++ COMDAT groups
Looks like it is also not working on x86_64, using clang/lld I am seeing
a segmentation fault:
Dump of assembler code for function _Z4funcj:
0x0000000000400590 <+0>: push %rbp
0x0000000000400591 <+1>: push %rbx
0x0000000000400592 <+2>: push %rax
0x0000000000400593 <+3>: mov %edi,%ebp
0x0000000000400595 <+5>: pop %rdx
0x0000000000400596