Messages in this thread | | | From | Tri Vo <> | Subject | [PATCH v2 0/4] gcov: add Clang support | Date | Tue, 15 Jan 2019 10:36:39 -0800 |
| |
From: Tri Vo <trong@android.com>
This patch series adds Clang supoprt for gcov.
Patch 1 refactors existing code in preparation for Clang support. Patches 2-3 implement necessary LLVM runtime hooks and gcov kernel interfaces. Patch 4 simplifies config selection.
Greg Hackmann (2): gcov: clang: move common gcc code into gcc_base.c gcov: clang support
Nick Desaulniers (1): gcov: clang: link/unlink profiling data set.
Tri Vo (1): gcov: clang: pick GCC vs Clang format depending on compiler
kernel/gcov/Kconfig | 3 +- kernel/gcov/Makefile | 5 +- kernel/gcov/base.c | 78 +----- kernel/gcov/clang.c | 554 +++++++++++++++++++++++++++++++++++++++++ kernel/gcov/gcc_base.c | 79 ++++++ kernel/gcov/gcov.h | 3 + 6 files changed, 643 insertions(+), 79 deletions(-) create mode 100644 kernel/gcov/clang.c create mode 100644 kernel/gcov/gcc_base.c
v2: - Reorganized config dependencies, as per Masahiro.
-- 2.20.1.97.g81188d93c3-goog
| |