search for: 990414af

Displaying 1 result from an estimated 1 matches for "990414af".

2018 Jul 17
4
Zero-sized globals in LLVM IR
Hello the list, What is the correct type for a global of size zero? I need the compiler to be able to generate one, so that the linker will insert it at a specific position without perturbing the location of anything else in the section. I have tried a zero-length array (generates something at least one byte). At Nuno’s suggestion, I tried a structure with no fields. In release builds, this