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

2021-01-21 Thread Sedat Dilek
On Fri, Jan 22, 2021 at 1:21 AM Sedat Dilek wrote: > > On Fri, Jan 22, 2021 at 1:12 AM Sedat Dilek wrote: > > > > On Fri, Jan 22, 2021 at 1:04 AM Andrii Nakryiko > > wrote: > > > > > > On Wed, Jan 20, 2021 at 2:36 PM Jiri Olsa wrote: > > > > > > > > On Sat, Jan 16, 2021 at 10:54:04AM +0100, Sed

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

2021-01-21 Thread Sedat Dilek
On Fri, Jan 22, 2021 at 1:12 AM Sedat Dilek wrote: > > On Fri, Jan 22, 2021 at 1:04 AM Andrii Nakryiko > wrote: > > > > On Wed, Jan 20, 2021 at 2:36 PM Jiri Olsa wrote: > > > > > > On Sat, Jan 16, 2021 at 10:54:04AM +0100, Sedat Dilek wrote: > > > > When dealing with BPF/BTF/pahole and DWARF v5

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

2021-01-21 Thread Sedat Dilek
On Fri, Jan 22, 2021 at 1:04 AM Andrii Nakryiko wrote: > > On Wed, Jan 20, 2021 at 2:36 PM Jiri Olsa wrote: > > > > On Sat, Jan 16, 2021 at 10:54:04AM +0100, Sedat Dilek wrote: > > > When dealing with BPF/BTF/pahole and DWARF v5 I wanted to build bpftool. > > > > > > While looking into the source

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

2021-01-21 Thread Andrii Nakryiko
On Wed, Jan 20, 2021 at 2:36 PM Jiri Olsa wrote: > > On Sat, Jan 16, 2021 at 10:54:04AM +0100, 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

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

2021-01-20 Thread Sedat Dilek
On Wed, Jan 20, 2021 at 11:36 PM Jiri Olsa wrote: > > On Sat, Jan 16, 2021 at 10:54:04AM +0100, 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] tools: Factor Clang, LLC and LLVM utils definitions

2021-01-20 Thread Jiri Olsa
On Sat, Jan 16, 2021 at 10:54:04AM +0100, 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, LL

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

2021-01-16 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