diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2009-08-14 19:45:38 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2009-08-14 19:45:38 +0000 |
commit | abd7514a68b0687f00d9df73cf5c79cb61ff08b6 (patch) | |
tree | 0b3f5750d277b7ab6a8cc65033c3b84d4672b603 /include | |
parent | 5ee3ba2f9ed3eb1e1dc29b3406e235f4e1e40969 (diff) | |
download | external_llvm-abd7514a68b0687f00d9df73cf5c79cb61ff08b6.zip external_llvm-abd7514a68b0687f00d9df73cf5c79cb61ff08b6.tar.gz external_llvm-abd7514a68b0687f00d9df73cf5c79cb61ff08b6.tar.bz2 |
*try* to use a better name to describe how common symbols are marked on the elf object file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79029 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCSectionELF.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/llvm/MC/MCSectionELF.h b/include/llvm/MC/MCSectionELF.h index 8d23b28..1c2943a 100644 --- a/include/llvm/MC/MCSectionELF.h +++ b/include/llvm/MC/MCSectionELF.h @@ -52,8 +52,10 @@ public: /// ShouldPrintSectionType - Only prints the section type if supported bool ShouldPrintSectionType(unsigned Ty) const; - /// IsCommon - True if this section contains only common symbols - bool IsCommon() const; + /// 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. + bool HasCommonSymbols() const; /// These are the section type and flags fields. An ELF section can have /// only one Type, but can have more than one of the flags specified. |