Add link flag to compress debug sections with v5 toolchain

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • DevProd Build
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      mathias@mongodb.com suggested we should try adding this link flag ('-Wl,--compress-sections=.debug_*=zstd:1') as an on-by-default feature so we can experiment with it. He has promising results using the v4 toolchain that show significant CPU time savings may be possible, but his experiments don't exactly match our build environment. We will have to confirm the gains.

      More information is available in the following LLVM commits:

            Assignee:
            Zack Winter
            Reporter:
            Ryan Berryhill
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: