#18 Debug symbols

open
None
5
2003-08-29
2003-08-24
Sean Gies
No

This adds a configure option: --enable-debug-symbols

It will create a fully optimized executable + debugging
symbols. This is essential for performance profiling.

Discussion

  • Sean Gies

    Sean Gies - 2003-08-24

    created with "cvs diff -u"

     
  • Willem Jan Palenstijn

    Logged In: YES
    user_id=23042

    I just noticed we already have a --enable-optimized-debug
    option that sets -g -O2 -fno-default-inline -fno-inline

     
  • Willem Jan Palenstijn

    • assigned_to: nobody --> wjpalenstijn
     
  • Sean Gies

    Sean Gies - 2003-08-29

    Logged In: YES
    user_id=770895

    The purpose of --enable-debug-symbols was to produce an
    _identical_ executable to the release version, but with symbols for
    profiling. The --enable-optimized-debug is mostly optimized, but
    not as much as the release version because it disables inline
    functions. When profiling code for the purposes of optimization,
    you want to know _exactly_ where the hot spots are in the release
    build, because they will often be different in a debug build.

     

Log in to post a comment.