What I see out of the box is that WebCore and JSCore build without -g and WebKit builds with -g. This is via the build-webkit shells script. The various XCode variables that override each other are a bit messy, and I'm not convinced the UI shows you the right values, but a small change seems to fix it. There is no good reason not to build all the code with -g.
Created attachment 2910 [details] WebCore piece of the patch
Created attachment 2911 [details] JSCore piece of the patch
Comment on attachment 2910 [details] WebCore piece of the patch r=me Yes, I think we should build the deployment version with symbols, this is important for use of Shark.