Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/compiler_rt Add profiling helper functions to the b...
details: https://anonhg.NetBSD.org/src/rev/b77db865487f
branches: trunk
changeset: 326010:b77db865487f
user: joerg <joerg%NetBSD.org@localhost>
date: Wed Jan 15 21:20:53 2014 +0000
description:
Add profiling helper functions to the build.
diffstat:
lib/libc/compiler_rt/Makefile.inc | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r f6fdd86002a4 -r b77db865487f lib/libc/compiler_rt/Makefile.inc
--- a/lib/libc/compiler_rt/Makefile.inc Wed Jan 15 21:14:54 2014 +0000
+++ b/lib/libc/compiler_rt/Makefile.inc Wed Jan 15 21:20:53 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.3 2013/12/03 16:14:50 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.4 2014/01/15 21:20:53 joerg Exp $
COMPILER_RT_SRCDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
@@ -13,6 +13,7 @@
.PATH: ${COMPILER_RT_CPU_DIR}
.PATH: ${COMPILER_RT_ARCH_DIR}
.PATH: ${COMPILER_RT_SRCDIR}/lib
+.PATH: ${COMPILER_RT_SRCDIR}/lib/profile
# Complex support needs parts of libm
#GENERIC_SRCS+=
@@ -154,6 +155,10 @@
umodsi3.c \
umodti3.c
+GENERIC_SRCS+= \
+ GCDAProfiling.c \
+ PGOProfiling.c
+
.if ${HAVE_LIBGCC} == "no"
.if ${MACHINE_ARCH} == "powerpc"
GENERIC_SRCS+= \
Home |
Main Index |
Thread Index |
Old Index