diff options
author | Eric Christopher <echristo@gmail.com> | 2013-09-23 22:59:14 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-09-23 22:59:14 +0000 |
commit | ccac5c4bf91ad4ad1c6584b3ddb8d60c686ef089 (patch) | |
tree | 1f46903470d60e56cdcd12ba2dfc8d80a2f3855d /llvm/lib/CodeGen | |
parent | b0fc0b9a7b0a68af89bdb7e0dfcd6ea56e7e4426 (diff) | |
download | bcm5719-llvm-ccac5c4bf91ad4ad1c6584b3ddb8d60c686ef089.tar.gz bcm5719-llvm-ccac5c4bf91ad4ad1c6584b3ddb8d60c686ef089.zip |
Rename IsStatic variable to Linkage in order to be a bit more descriptive.
llvm-svn: 191236
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index a6de1ac9414..a3d2dedfbcf 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -2349,7 +2349,7 @@ void DwarfDebug::emitAccelTypes() { /// computeIndexValue - Compute the gdb index value for the DIE and CU. static dwarf::PubIndexEntryDescriptor computeIndexValue(CompileUnit *CU, DIE *Die) { - dwarf::GDBIndexEntryLinkage IsStatic = + dwarf::GDBIndexEntryLinkage Linkage = Die->findAttribute(dwarf::DW_AT_external) ? dwarf::GIEL_EXTERNAL : dwarf::GIEL_STATIC; @@ -2369,10 +2369,10 @@ static dwarf::PubIndexEntryDescriptor computeIndexValue(CompileUnit *CU, case dwarf::DW_TAG_namespace: return dwarf::GIEK_TYPE; case dwarf::DW_TAG_subprogram: - return dwarf::PubIndexEntryDescriptor(dwarf::GIEK_FUNCTION, IsStatic); + return dwarf::PubIndexEntryDescriptor(dwarf::GIEK_FUNCTION, Linkage); case dwarf::DW_TAG_constant: case dwarf::DW_TAG_variable: - return dwarf::PubIndexEntryDescriptor(dwarf::GIEK_VARIABLE, IsStatic); + return dwarf::PubIndexEntryDescriptor(dwarf::GIEK_VARIABLE, Linkage); case dwarf::DW_TAG_enumerator: return dwarf::PubIndexEntryDescriptor(dwarf::GIEK_VARIABLE, dwarf::GIEL_STATIC); |