Make sure to keep symbols for profile build.
authorReid Spencer <rspencer@reidspencer.com>
Tue, 10 Jul 2007 14:52:01 +0000 (14:52 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 10 Jul 2007 14:52:01 +0000 (14:52 +0000)
Patch by Benoit Boissinot. Thanks, Benoit!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38490 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index 84c5eafc114ada2c838cb05d0f755cd1619bb16f..2852ac38bfc888a30464c4adc71407444eb1e70f 100644 (file)
@@ -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