• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Dead code stripping, what does it strip?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dead code stripping, what does it strip?


  • Subject: Dead code stripping, what does it strip?
  • From: Allan Odgaard <email@hidden>
  • Date: Mon, 9 Aug 2004 13:53:33 +0200

I was curious, does the dead-code stripper only strip my own functions which I do not use myself?

Cause if that is the case, how often does that really happen in real-life? I tried to recompile one of my own projects, enabling full debug symbols and the dead code stripper, but the resulting executable (after running 'strip' on it) was 1.5 MB, which was exactly the same size as before I got Xcode 1.5.

I also tried the simple C++ tool, which becomes around 353 KB, but here that was also the size after stripping dead code, although there must be a lot of dead code in that executable, since it only does a ;cout << "Hello, world!\n"+.

Any comments?
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Dead code stripping, what does it strip?
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Building XCode projects remotely?
  • Next by Date: Re: Safari Xcode 1.5 Downloading Problems
  • Previous by thread: Re: Distributed Builds and local machine, Xcode 1.5
  • Next by thread: Re: Dead code stripping, what does it strip?
  • Index(es):
    • Date
    • Thread