This patchs adds a new metadata kind exclude which implies that the
global variable should be given the necessary flags during code
generation to not be included in the final executable. This is done
using the `SHF_EXCLUDE` flag on ELF for example. This should make it
easier to specify this flag on a variable without needing to explicitly
check the section name in the target backend.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/CodeGen/X86/offload_sections.ll | ||
---|---|---|
1 | !associated tests may give insight how to add more cases. |
Comment Actions
Addressing comments. Metadata is now empty and must be empty for the flag to be emitted.
Nit: the underline is too long here, and will probably cause a doc build warning.