@@ -1780,19 +1780,19 @@ disassembleObject(ObjectFile &Obj, const ObjectFile &DbgObj,
1780
1780
// inside functions, for which STT_FUNC would be inaccurate.
1781
1781
//
1782
1782
// So here, we spot whether there's any non-data symbol present at all,
1783
- // and only set the DisassembleAsData flag if there isn't. Also, we use
1783
+ // and only set the DisassembleAsELFData flag if there isn't. Also, we use
1784
1784
// this distinction to inform the decision of which symbol to print at
1785
1785
// the head of the section, so that if we're printing code, we print a
1786
1786
// code-related symbol name to go with it.
1787
- bool DisassembleAsData = false ;
1787
+ bool DisassembleAsELFData = false ;
1788
1788
size_t DisplaySymIndex = SymbolsHere.size () - 1 ;
1789
1789
if (Obj.isELF () && !DisassembleAll && Section.isText ()) {
1790
- DisassembleAsData = true ; // unless we find a code symbol below
1790
+ DisassembleAsELFData = true ; // unless we find a code symbol below
1791
1791
1792
1792
for (size_t i = 0 ; i < SymbolsHere.size (); ++i) {
1793
1793
uint8_t SymTy = SymbolsHere[i].Type ;
1794
1794
if (SymTy != ELF::STT_OBJECT && SymTy != ELF::STT_COMMON) {
1795
- DisassembleAsData = false ;
1795
+ DisassembleAsELFData = false ;
1796
1796
DisplaySymIndex = i;
1797
1797
}
1798
1798
}
@@ -1943,7 +1943,7 @@ disassembleObject(ObjectFile &Obj, const ObjectFile &DbgObj,
1943
1943
if (SectionAddr < StartAddress)
1944
1944
Index = std::max<uint64_t >(Index, StartAddress - SectionAddr);
1945
1945
1946
- if (DisassembleAsData ) {
1946
+ if (DisassembleAsELFData ) {
1947
1947
dumpELFData (SectionAddr, Index, End, Bytes);
1948
1948
Index = End;
1949
1949
continue ;
0 commit comments