[PATCH 03/21] perf llvm: Allow passing options to llc in addition to clang

2018-08-20 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo The newly added 'llvm.opts' variable allows passing options directly to llc, like needed to get sane DWARF in BPF ELF debug sections: With: [root@seventh perf]# cat ~/.perfconfig [llvm] dump-obj = true clang-opt = -g [root@seventh perf]#

[PATCH 03/21] perf llvm: Allow passing options to llc in addition to clang

2018-08-20 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo The newly added 'llvm.opts' variable allows passing options directly to llc, like needed to get sane DWARF in BPF ELF debug sections: With: [root@seventh perf]# cat ~/.perfconfig [llvm] dump-obj = true clang-opt = -g [root@seventh perf]#