From: Reid Spencer Date: Tue, 10 Jul 2007 14:52:01 +0000 (+0000) Subject: Make sure to keep symbols for profile build. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=eff155349acd73e555a81e7935a9ec4f48ea2bb5;p=oota-llvm.git Make sure to keep symbols for profile build. Patch by Benoit Boissinot. Thanks, Benoit! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38490 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Makefile.rules b/Makefile.rules index 84c5eafc114..2852ac38bfc 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -213,6 +213,7 @@ ifdef ENABLE_PROFILING CXX.Flags := $(OPTIMIZE_OPTION) -pg -g C.Flags := $(OPTIMIZE_OPTION) -pg -g LD.Flags := $(OPTIMIZE_OPTION) -pg -g + KEEP_SYMBOLS := 1 else ifeq ($(ENABLE_OPTIMIZED),1) BuildMode := Release