Displaying 20 results from an estimated 10000 matches similar to: "contributing llvm-lipo"
2019 May 10
2
contributing llvm-lipo
Hi Jake,
many thanks,
yea, I have very similar feelings / thoughts.
After some thinking it seems to me that this discussion/problem which I
have brought up is, in fact,
more relevant to the tools which really need a robust mutable model of an
object file (like objcopy, strip, install_name_tool, etc),
but the particular case of "lipo" might be simpler, I need to double check
that / will
2019 May 10
2
contributing llvm-lipo
Every case is different,
but yes, as I said - I would like to take a closer look at the problem
again,
it might be the case that we don't need this complexity in this particular
case,
but want to double check.
But yeah, in general I agree with you!
On Thu, May 9, 2019 at 6:09 PM Jake Ehrlich <jakehehrlich at google.com> wrote:
> I think that pretty much hits the nail on the head.
2018 Oct 01
5
Extending llvm-objcopy to support Mach-O
Hey everyone! Objcopy is a powerful tool that allows one to modify object
files in various manners, for example, modify symbols / symbol tables or
copy / remove particular parts of a binary. It also serves as a basis for
the strip tool.
Currently, llvm-objcopy only supports ELF files while binutils' objcopy can
handle Mach-O files as well. Besides extending the existing tool to support
Mach-O
2019 Oct 14
2
contributing llvm-install-name-tool
Hey Michael,
I completely agree that setting the rpath properly the first time around is
much preferred. But, changes to the binary, particularly during
development is much quicker.
Prebuilt libraries which are being repackaged is one use case that is
missed.
In the past, I’ve even used it to repair am incorrectly built library which
was missing the library name.
There are a few different
2019 Oct 11
2
contributing llvm-install-name-tool
Hey everyone!
Recently there has been some progress on LLVM-based tools for manipulating
MachO binaries: llvm-objcopy has been gaining a lot of important bits to
support MachO (it's relatively close to the point where one can implement
the strip-like functionality), llvm-lipo is functional and supports most of
cctools' lipo options (https://llvm.org/docs/CommandGuide/llvm-lipo.html).
There
2020 Aug 21
2
RFC: Contributing bitcode_strip
*bitcode_strip* is a utility which is used to manipulate (leave / remove)
bitcode segments in a Mach-O file. It is a part of Apple’s cctools and it
is also distributed with Xcode.
The man page of the tool is available here
https://www.manpagez.com/man/1/bitcode_strip/.
The functionality of *bitcode_strip* naturally maps onto llvm-objcopy’s
model and requires only minimal additions to it.
2018 Oct 02
3
Extending llvm-objcopy to support Mach-O
That's something I want to do as well for several reasons. That's an
orthogonal issue however.
On Tue, Oct 2, 2018, 10:21 AM Eric Christopher <echristo at gmail.com> wrote:
> I'd give some consideration to moving the objcopy support itself into a
> library inside llvm (possibly lib/Object as that makes the most sense) and
> then the tool is just a thin wrapper on top
2020 Aug 25
9
[Proposal][Debuginfo] dsymutil-like tool for ELF.
Hi,
We propose llvm-dwarfutil - a dsymutil-like tool for ELF.
Any thoughts on this?
Thanks in advance, Alexey.
======================================================================
llvm-dwarfutil(Apndx A) - is a tool that is used for processing debug
info(DWARF)
located in built binary files to improve debug info quality,
reduce debug info size and accelerate debug info processing.
2020 Aug 26
3
[Proposal][Debuginfo] dsymutil-like tool for ELF.
On 26.08.2020 10:58, James Henderson wrote:
> In principle, this sounds reasonable to me. I don't know enough about
> dsymutil's interface to know whether it makes sense to try to make it
> multi-format compatible or not. If it doesn't I'm perfectly happy for
> a new tool to be added using the DWARFLinker library.
>
> Some more general thoughts:
> 1)
2020 Sep 01
2
[Proposal][Debuginfo] dsymutil-like tool for ELF.
On 01.09.2020 06:27, David Blaikie wrote:
> A quick note: The feature as currently proposed sounds like it's an
> exact match for 'dwz'? Is there any benefit to this over the existing
> dwz project? Is it different in some ways I'm not aware of? (I haven't
> actually used dwz, so I might have some mistaken ideas about how it
> should work)
>
> If
2020 Sep 02
2
[Proposal][Debuginfo] dsymutil-like tool for ELF.
On 01.09.2020 20:07, David Blaikie wrote:
> Fair enough - thanks for clarifying the differences! (I'd still lean a
> bit towards this being dwz-esque, as you say "an extension of classic dwz"
I doubt a little about "llvm-dwz" since it might confuse people who
would expect exactly the same behavior.
But if we think of it as "an extension of classic dwz" and
2020 Sep 02
2
[Proposal][Debuginfo] dsymutil-like tool for ELF.
On 02.09.2020 21:44, David Blaikie wrote:
>
>
> On Wed, Sep 2, 2020 at 9:56 AM Alexey <avl.lapshin at gmail.com
> <mailto:avl.lapshin at gmail.com>> wrote:
>
>
> On 01.09.2020 20:07, David Blaikie wrote:
>> Fair enough - thanks for clarifying the differences! (I'd still
>> lean a bit towards this being dwz-esque, as you say "an
2019 Mar 19
2
AArch64 tests failing
I'm seeing a bunch of failures on AArch64 after updating this morning.
These are NOT failing on x86-64. These all seem to be caused by
segfaults (example backtrace below). Is anyone else seeing this?
-David
LLVM :: DebugInfo/symbolize-no-debug-str.test
LLVM :: tools/gold/X86/comdat.ll
LLVM :: tools/gold/X86/visibility.ll
LLVM ::
2020 Sep 03
2
[Proposal][Debuginfo] dsymutil-like tool for ELF.
On 03.09.2020 01:36, David Blaikie wrote:
>
>
> On Wed, Sep 2, 2020 at 3:26 PM Alexey <avl.lapshin at gmail.com
> <mailto:avl.lapshin at gmail.com>> wrote:
>
>
> On 02.09.2020 21:44, David Blaikie wrote:
>>
>>
>> On Wed, Sep 2, 2020 at 9:56 AM Alexey <avl.lapshin at gmail.com
>> <mailto:avl.lapshin at gmail.com>>
2020 Aug 31
6
[Proposal][Debuginfo] dsymutil-like tool for ELF.
Hi James,
Thank you for the comments.
>I think we're not terribly far from that ideal, now, for ELF. Maybe
only these three things need to be done? --
> 1. Teach lld how to emit a separated debuginfo output file directly,
without requiring an objcopy step.
> 2. Integrate DWARFLinker into lld.
> 3. Create a new tool which takes the separated debuginfo and DWO/DWP
files
2020 Jun 09
3
RFC: Contributing llvm-libtool (LLVM version of Apple's libtool)
We're planning to contribute an LLVM version of Apple's libtool utility. To quote its man page, "Libtool with -static is intended to replace ar(5) and ranlib". In other words, libtool is the preferred tool to create archives for Apple platforms, and it also has good defaults for that platform (e.g. automatically creating a table of contents with the right format). It provides a
2020 Aug 13
2
Adding sections in a binary
On 2020-08-13, David Blaikie via llvm-dev wrote:
>Sounds like the llvm-objcopy source code (llvm/tools/llvm-objcopy) is
>probably a good place to start.
>
>On Thu, Aug 13, 2020 at 8:11 AM Joseph via llvm-dev
><llvm-dev at lists.llvm.org> wrote:
>>
>> Hey,
>>
>> LLVM has logic to parse ELF and PE binaries using `llvm::object::createBinary`. I tried to
2019 May 23
3
Proposal for Mach-O support in llvm-objcopy: section renaming
> On May 23, 2019, at 2:05 AM, James Henderson via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> I discussed this with Seiya off the mailing list yesterday, and this was the suggestion we came up with, on the basis that GNU objcopy has support for the renaming for GDB support, but it might be confusing to people who are new to the system, so we provide a more expected output
2019 May 23
2
Proposal for Mach-O support in llvm-objcopy: section renaming
Hi,
I'm going to implement Mach-O support in llvm-objcopy. Before working
on this, I'd like to hear your thoughts how llvm-objcopy should handle
Mach-O section names.
By convention, Mach-O section names are denoted by "<segment
name>,<section name>". However, GNU objcopy renames them in the
following rule [1]:
- If the section name is well-known, rename it to an
2020 Mar 02
3
Adding accelerator tables to existing linked DWARF files
> On Feb 28, 2020, at 11:25 PM, Fangrui Song via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> On 2020-02-28, Greg Clayton via llvm-dev wrote:
>> I am looking to create a tool that can add Apple or DWARF5 accelerator tables to fully linked executables that contain DWARF. This will help us benchmark how much accelerator tables can improve the debugging experience as