Enable MONGO_COMPILER_COLD_FUNCTION on clang

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Server Security
    • Fully Compatible
    • Security 2024-04-29, Security 2024-05-13
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      I think this can basically be just reverting this commit. Could also use __has_attribute(__cold__) to directly test for it.

      Reference: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-cold-function-attribute

            Assignee:
            Mark Benvenuto
            Reporter:
            Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: