Displaying 20 results from an estimated 6000 matches similar to: "[LLVMdev] Code Ownership Proposal"
2014 Jul 28
2
[LLVMdev] [RFC] Install yaml2obj and obj2yaml utilities together with other LLVM tools
Let's suppose that MCLinker folks are here already - I am a committer
of this project :).
Maybe I did not formulate my suggestion correctly. When I offer to
"install" the yaml2obj and obj2yaml utilities I mean result of the
"make install" command only. I do not suggest to include this
utilities into any distributed binary packages. To be clear I attached
the patch with
2017 Nov 01
2
elf2yaml document structure, for dynamic symbols
> I wonder why you want to add the new feature to yaml2obj. Maybe,
explaining your motivation would help others understand your problem.
Thanks for the cue! I am using yaml2obj to generate stub dynamic libraries.
On Wed, Nov 1, 2017 at 11:29 AM, Rui Ueyama <ruiu at google.com> wrote:
> I don't have a strong opinion on this. yaml2obj was there when I joined to
> the project,
2015 Apr 20
2
[LLVMdev] [lld] Linker cannot handle sections with non-unique names
Nothing wrong with going ahead with a temporary measure if the temporary
measure is reasonable (besides the discussion if checking in binary files
is desirable). Even if you plan to add a test written in YAML, it's better
to check in a binary at least for now than checking it in without any tests.
On Mon, Apr 20, 2015 at 7:59 AM, Shankar Easwaram <shankarke at gmail.com>
wrote:
> I
2014 Jul 27
2
[LLVMdev] [RFC] Install yaml2obj and obj2yaml utilities together with other LLVM tools
Now the yaml2obj and obj2yaml utilities used in LLVM and LLD projects
tests only and not installed by the "make install" command. I think
they might be also useful in third-party projects like MCLinker. I
suggest to move these utilities into the "tools" category and install
them together with other LLVM tools.
Any objections or comments?
--
Simon Atanasyan
2020 Sep 16
2
Making library calls for obj2yaml functionalities
Hi All,
Following up on
https://lists.llvm.org/pipermail/llvm-dev/2020-July/143512.html, and
https://reviews.llvm.org/D85408, we would like to consider a design which
allows external tools to read the structured contents of the .bb_addr_map
section with library calls into an LLVM library. At the same time, we need
to have tools/obj2yaml tests in place for bb_addr_map. So it sounds like
the
2018 Jan 26
0
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
Interesting. If it is generating yaml files that can't be decoded, then
definitely sounds like a bug. If you can provide a reduced test case we
can try to fix it, but admittedly it can often take some effort to generate
a reduced test case. The best way is to use creduce. Use cl or clang-cl
and write the pre-processed output to a file, then run creduce on that file
with a test that
2016 Jan 15
2
Consistently prefixing llvm/bin executables
Has it ever been considered to prefix executables like opt, bugpoint,
obj2yaml, yaml2obj and macho-dump with llvm-?
Especially things like 'opt' are too generic of a name and very
likely to clash with existing stuff in $PATH.
2017 Nov 01
2
elf2yaml document structure, for dynamic symbols
I'm adding support for elf dynamic symbols in yaml2obj/obj2yaml. I'm
seeking opinions about how to model dynamic symbols (and symbols in
general) in the yaml structure. Currently, symbols in elf are represented
by a top level `Symbols` key, within which symbols are grouped by binding
type (Global, Weak, Local). The simplest thing to do would be to mirror
this structure to a DynamicSymbols
2018 Jan 26
3
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
I'm now thinking that there's a bug in either obj2yaml or yaml2obj, because
if I run just those two tools on my codebase it generates yaml files that
can't be decoded, will try now to not add any section to the obj file in
llvm-objcopy to see if I can link with obj files that I rewrite (but
without adding symbols or sections).
One of the bugs that do annoy me is that the timedatestamp
2018 Jan 26
4
[lldb-dev] Trying out lld to link windows binaries (using msvc as a compiler)
dumpbin has some clues. I ran dumpbin /all on both object files and diffed
the results.
In the good object file, Section #2 (.data) has File Pointer to Raw Data =
208, but in the bad file Section #2 (.data) has File Pointer to Raw Data =
0.
Also, Section #3 (.bss) in the good file has Size of Raw Data = 4, but in
the bad file Section #3 (.bss) has Size of Raw Data = 0.
On Fri, Jan 26, 2018 at
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
2014 Oct 20
2
[LLVMdev] [lld][ELF] obj2yaml vs normalized input files (similar to macho)
Hi,
After looking at the Normalized Readers in mach-o, I feel it would be
nice if the Gnu flavor to adopt this design what mach-o did in addition
to using obj2yaml.
Its so much easier to test in the context of lld with normalized
readers, IMO.
Opinions ?
Thanks
Shankar Easwaran
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation
2015 Apr 20
4
[LLVMdev] [lld] Linker cannot handle sections with non-unique names
On Mon, Apr 20, 2015 at 1:44 AM, Shankar Easwaran <shankarke at gmail.com> wrote:
> Attached patch fixes the issue.
Thanks for the quick fix. The patch LGTM if you add a test case.
Unfortunately yaml2obj does not support duplicated section names but
we can use a binary input file.
--
Simon Atanasyan
2016 Jan 15
0
Consistently prefixing llvm/bin executables
On Fri, Jan 15, 2016 at 2:15 PM, Carsten Mattner via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Has it ever been considered to prefix executables like opt, bugpoint,
> obj2yaml, yaml2obj and macho-dump with llvm-?
>
FYI, macho-dump doesn't exist anymore.
That said, I understand the concerns for binutils equivalent (and maybe
opt), but I don't think it's too much a
2019 Mar 06
3
RFC: Adding "minidump" support to obj2yaml
Hello all,
yesterday I sent an email
<http://lists.llvm.org/pipermail/lldb-dev/2019-March/014811.html> to
lldb-dev proposing a new tool in lldb for yamlization of minidump files.
It's been suggested to me that instead of a new tool it may be better to
add support for that format to obj2yaml instead. Hence, this email. :)
As I expect most people are unfamiliar with this format, I'm
2014 Apr 02
4
[LLVMdev] [yaml2obj] ELF relocation support
Hi,
On Wed, Apr 2, 2014 at 1:03 AM, Michael Spencer <bigcheesegs at gmail.com> wrote:
> On Mon, Mar 31, 2014 at 10:54 AM, Simon Atanasyan <simon at atanasyan.com> wrote:
>> As far as I understand now it is impossible to generate ELF object
>> file with relocation sections using yaml2obj tool. I plan to support
>> ELF relocations in the yaml2obj. Does anybody work
2018 Apr 27
3
Size of produced binaries when compiling llvm & clang sources
Dear llvm developpers,
I followed the tutorial to build llvm and clang provided here:
https://clang.llvm.org/get_started.html
The sources are in sync with subversion repository, and I ended up with
more than 30GB of binaries in llvm/bin as shown at the end of this message.
I assume I did something wrong, but I did not find any entry in the doc
that helps me understand how to reduce the size of
2020 Mar 04
5
yaml2obj support for COFF debug directories
Spoiler: the following only applies to Windows binary format handling.
Potential for extending yaml2obj to support COFF debug directories<https://docs.microsoft.com/en-us/windows/win32/debug/pe-format#debug-directory-image-only> recently came up during a code review<https://reviews.llvm.org/D70606#1873185>. Currently, its COFF
2020 Jun 07
3
Kill "KillTheDoctor"
We still have the program called "KillTheDoctor" [1] in our source
tree. Its original intention was to stop requiring user interaction
for crashing regression tests under Windows (infamous Dr. Watson,
nowadays "[program] has stopped working" [2]), I don't think it is
useful anymore. It's also a very hacky approach, as admitted in the
source comment itself ("I hate
2014 Apr 07
1
[LLVMdev] [yaml2obj] ELF relocation support
On Wed, Apr 2, 2014 at 2:27 PM, Michael Spencer <bigcheesegs at gmail.com>wrote:
> On Wed, Apr 2, 2014 at 10:54 AM, Simon Atanasyan <simon at atanasyan.com>
> wrote:
> > Hi,
> >
> > On Wed, Apr 2, 2014 at 1:03 AM, Michael Spencer <bigcheesegs at gmail.com>
> wrote:
> >> On Mon, Mar 31, 2014 at 10:54 AM, Simon Atanasyan <simon at