Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,881
    • Issues 2,881
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 907
    • Merge requests 907
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mesa
  • mesamesa
  • Merge requests
  • !6565

Merged
Created Sep 02, 2020 by Jan Zielinski@jzielinsDeveloper

swr: Fix crashes on non-AVX hardware

  • Overview 28
  • Commits 1
  • Pipelines 8
  • Changes 1

Compilers may use vector instructions in calculating hash values of std::string. This happens usually when high optimization level is enabled. SWR had two static std::map<std::string, T> variables which lead to crashes on non-AVX systems during the initialization of those variables. This commit moves initialization to get* functions so they will only be created when used.

Edited Sep 02, 2020 by Jan Zielinski
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: swr-fix-avx-leak