none
What is the Debug Directory 'coffgrp'

    Question

  • and how do i make link.exe not generate it.

    When moving a project from VS2013 Update 5 to VS2015 Update 3 analysis of dumpbin /HEADERS for the 2 executable shows that that in the VS2015 version, 3 entries are present in Debug Directories that were not in the VS2013 version.

    Under Linker Debugging, being more aggressive with turning things off  i can make everything except coffgrp go away, but regardless of what i seam to try turning off in the settings i can't make the last one go away and thus make Debug Directories read empty.

    Thursday, October 20, 2016 3:03 PM

All replies

  • To get rid of these entries would do /INCREMENTAL linking. See also
    Co-existence with linker optimizations
    https://blogs.msdn.microsoft.com/vcblog/2013/10/29/the-visual-c-linker-best-practices-developer-iteration/
    Additionally in 'Configuration Properties->General' would set 'Whole Program Optimization' to 'No Whole Program Optimization'

    With kind regards

    Friday, October 21, 2016 8:24 PM
  • Windbg says it's IMAGE_DEBUG_TYPE_xxx is 13
    Debug Directories(1)
     Type       Size     Address  Pointer
     (    13)     280        22b4     16b4
    which is not mentioned in pecoff.docx Revision 10--June 15, 2016
    https://www.microsoft.com/en-us/download/details.aspx?id=19509

    With kind regards

    Friday, October 21, 2016 8:55 PM
  • You can prevent this directory from being emitted by specifying the additional linker option /nocoffgrpinfo
    Tuesday, March 28, 2017 9:45 AM