mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/4] gcov: add Clang support
@ 2019-01-15 18:36 Tri Vo
  2019-01-15 18:36 ` [PATCH v2 1/4] gcov: clang: move common gcc code into gcc_base.c Tri Vo
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Tri Vo @ 2019-01-15 18:36 UTC (permalink / raw)
  To: oberpar; +Cc: ghackmann, ndesaulniers, linux-kernel, kernel-team, Tri Vo

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-01-17 22:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-15 18:36 [PATCH v2 0/4] gcov: add Clang support Tri Vo
2019-01-15 18:36 ` [PATCH v2 1/4] gcov: clang: move common gcc code into gcc_base.c Tri Vo
2019-01-15 18:36 ` [PATCH v2 2/4] gcov: clang support Tri Vo
2019-01-15 18:36 ` [PATCH v2 3/4] gcov: clang: link/unlink profiling data set Tri Vo
2019-01-15 18:36 ` [PATCH v2 4/4] gcov: clang: pick GCC vs Clang format depending on compiler Tri Vo
2019-01-15 19:25   ` Nick Desaulniers
2019-01-16 10:18     ` Masahiro Yamada
2019-01-17 21:48       ` Nick Desaulniers
2019-01-16 15:17 ` [PATCH v2 0/4] gcov: add Clang support Peter Oberparleiter
2019-01-17 21:30   ` Nick Desaulniers
2019-01-17 22:01     ` Tri Vo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome