Skip to content
Snippets Groups Projects
Commit 46b558f5 authored by Pranav Kant's avatar Pranav Kant
Browse files

Mark C globals with small code model

We have new option in clang (https://github.com/llvm/llvm-project/pull/124834)
to mark globals to be allocated in non-large sections. We can mark all globals
that are referenced from hardcoded assembly (which implicitly references globals
assuming they are in non-large sections) with this attribute to avoid running
into problems when dav1d is built with -mcmodel=medium with clang.
parent 42b2b24f
Branches mcmodel
No related tags found
No related merge requests found
Pipeline #568837 failed with stages
in 4 minutes and 45 seconds