You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enabling this flag does three things:
- Adds the `SHF_ALLOC` flag to the `.llvmbc` section so that it gets
loaded by the loader.
- Makes the `llvm.embedded.module` symbol inside externally visible by
giving it external linkage.
- Prepends the embedded IR with a pointer-sized length field so that we
can load the IR directly from memory at runtime.
I was having issues finding a place to define the flag where it could be
consistently accessed across the necessary module linkage boundaries.
I've ended up defining it in `llvm/lib/Support`, which is an "always
linked" component.
0 commit comments