Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • L libglvnd
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • glvnd
  • libglvnd
  • Merge requests
  • !253

Mark entrypointFunctions as used for clang+lto

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Charlotte Delenk requested to merge dark-kirb/libglvnd:master into master Sep 19, 2021
  • Overview 3
  • Commits 1
  • Pipelines 2
  • Changes 1

LLVM currently ignores inline assembly references to symbols during dead code and data elimination while linking with link-time optimizations enabled.

This manifests in a very large amount of unresolved references to entrypointFunctions when building libglvnd using clang with LTO enabled.

This issue fixes #220 (closed) by marking the entrypointFunctions array as used, using a compiler attribute.

Signed-off-by: Charlotte Delenk darkkirb@darkkirb.de

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: master