Enable .debug_names to speed up lldb

XMLWordPrintableJSON

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

      Moved here from https://jira.mongodb.org/browse/DEVPROD-23889

       

      -----------------------------------

       

      Passing `--copt=-gpubnames` to the compiler greatly speeds up lldb (time to pause at the first breakpoint goes down from ~1min to ~1 second). Pass it by default in .bazelrc for the dbg config.

       

      The downside is that the resulting binary is even larger (~2.1gb instead of 1.5)

            Assignee:
            Unassigned
            Reporter:
            Kartal Kaan Bozdogan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: