Don't use -fomit-frame-pointer on darwin, it breaks stacktrace collection.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28451 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-05-24 18:34:08 +00:00
parent a04c0c417b
commit e5aa8f38a7

View File

@ -208,8 +208,11 @@ else
BuildMode := Release
# Don't use -fomit-frame-pointer on FreeBSD
ifneq ($(OS),FreeBSD)
# Don't use -fomit-frame-pointer on Darwin, it breaks backtraces.
ifneq ($(OS),Darwin)
OmitFramePointer := -fomit-frame-pointer
endif
endif
CXX.Flags := -O3 -finline-functions -felide-constructors $(OmitFramePointer)
C.Flags := -O3 $(OmitFramePointer)
LD.Flags := -O3