*try* to use a better name to describe how common symbols are marked on the elf object file.

llvm-svn: 79029
diff --git a/llvm/lib/CodeGen/ELFWriter.cpp b/llvm/lib/CodeGen/ELFWriter.cpp
index e62079f..ffbaf6ba 100644
--- a/llvm/lib/CodeGen/ELFWriter.cpp
+++ b/llvm/lib/CodeGen/ELFWriter.cpp
@@ -356,7 +356,7 @@
     unsigned Size = TD->getTypeAllocSize(GVar->getInitializer()->getType());
     GblSym->Size = Size;
 
-    if (S->IsCommon()) { // Symbol must go to a common section
+    if (S->HasCommonSymbols()) { // Symbol must go to a common section
       GblSym->SectionIdx = ELFSection::SHN_COMMON;
 
       // A new linkonce section is created for each global in the