mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
make isVirtualSection a virtual method on MCSection. Chris' suggestion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119547 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -107,6 +107,10 @@ bool MCSectionELF::UseCodeAlign() const {
|
||||
return getFlags() & MCSectionELF::SHF_EXECINSTR;
|
||||
}
|
||||
|
||||
bool MCSectionELF::isVirtualSection() const {
|
||||
return getType() == MCSectionELF::SHT_NOBITS;
|
||||
}
|
||||
|
||||
// HasCommonSymbols - True if this section holds common symbols, this is
|
||||
// indicated on the ELF object file by a symbol with SHN_COMMON section
|
||||
// header index.
|
||||
|
Reference in New Issue
Block a user