mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Rename IsStatic variable to Linkage in order to be a bit more descriptive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191236 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
734334e349
commit
a31a975e54
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user