Whilst looking at a bugfix in the LLVM source code, I came across the term, "virtual section" and wondered what it meant.
I tried Googling a few different terms and browsing the source code further, but all I managed to find was that the implementations for each object file format's isSectionVirtual
member function appear to express that a section is virtual if it has no contents (such as a .bss section, but the source code clearly expresses that these are two different concepts). The implementation varies depending on the specific object format involved.
I am fairly new to understanding the innards of object files, so I am not sure if this is an LLVM thing or a more general concept present outside of LLVM.
Could somebody please tell me what a virtual section is in an object file?
isBSS
andisVirtual
wouldn't need to exist. Thanks for your input regardless! – Habiliment