Re: [PATCH RFC v2] tools: Factor Clang, LLC and LLVM utils definitions

2021-01-27 Thread Sedat Dilek
On Thu, Jan 28, 2021 at 2:41 AM Andrii Nakryiko wrote: > > On Wed, Jan 27, 2021 at 5:30 PM Sedat Dilek wrote: > > > > On Thu, Jan 28, 2021 at 2:27 AM Andrii Nakryiko > > wrote: > > > > > > On Thu, Jan 21, 2021 at 4:32 PM Sedat Dilek wrote: > > > > > > > > When dealing with BPF/BTF/pahole and DW

Re: [PATCH RFC v2] tools: Factor Clang, LLC and LLVM utils definitions

2021-01-27 Thread Andrii Nakryiko
On Wed, Jan 27, 2021 at 5:30 PM Sedat Dilek wrote: > > On Thu, Jan 28, 2021 at 2:27 AM Andrii Nakryiko > wrote: > > > > On Thu, Jan 21, 2021 at 4:32 PM Sedat Dilek wrote: > > > > > > When dealing with BPF/BTF/pahole and DWARF v5 I wanted to build bpftool. > > > > > > While looking into the sourc

Re: [PATCH RFC v2] tools: Factor Clang, LLC and LLVM utils definitions

2021-01-27 Thread Sedat Dilek
On Thu, Jan 28, 2021 at 2:27 AM Andrii Nakryiko wrote: > > On Thu, Jan 21, 2021 at 4:32 PM Sedat Dilek wrote: > > > > When dealing with BPF/BTF/pahole and DWARF v5 I wanted to build bpftool. > > > > While looking into the source code I found duplicate assignments > > in misc tools for the LLVM ec

Re: [PATCH RFC v2] tools: Factor Clang, LLC and LLVM utils definitions

2021-01-27 Thread Andrii Nakryiko
On Thu, Jan 21, 2021 at 4:32 PM Sedat Dilek wrote: > > When dealing with BPF/BTF/pahole and DWARF v5 I wanted to build bpftool. > > While looking into the source code I found duplicate assignments > in misc tools for the LLVM eco system, e.g. clang and llvm-objcopy. > > Move the Clang, LLC and/or

[PATCH RFC v2] tools: Factor Clang, LLC and LLVM utils definitions

2021-01-21 Thread Sedat Dilek
When dealing with BPF/BTF/pahole and DWARF v5 I wanted to build bpftool. While looking into the source code I found duplicate assignments in misc tools for the LLVM eco system, e.g. clang and llvm-objcopy. Move the Clang, LLC and/or LLVM utils definitions to tools/scripts/Makefile.include file an