mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-25 12:04:36 +00:00
Remove unused variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270516 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fe32163562
commit
2defe22bf3
@ -181,12 +181,10 @@ static const EnumEntry<uint32_t> FrameProcSymFlags[] = {
|
||||
/// the visitor out of SymbolDumper.h.
|
||||
class CVSymbolDumperImpl : public CVSymbolVisitor<CVSymbolDumperImpl> {
|
||||
public:
|
||||
CVSymbolDumperImpl(CVSymbolDumper &CVSD, CVTypeDumper &CVTD,
|
||||
SymbolDumpDelegate *ObjDelegate, ScopedPrinter &W,
|
||||
bool PrintRecordBytes)
|
||||
: CVSymbolVisitor(ObjDelegate), CVSD(CVSD), CVTD(CVTD),
|
||||
ObjDelegate(ObjDelegate), W(W), PrintRecordBytes(PrintRecordBytes),
|
||||
InFunctionScope(false) {}
|
||||
CVSymbolDumperImpl(CVTypeDumper &CVTD, SymbolDumpDelegate *ObjDelegate,
|
||||
ScopedPrinter &W, bool PrintRecordBytes)
|
||||
: CVSymbolVisitor(ObjDelegate), CVTD(CVTD), ObjDelegate(ObjDelegate),
|
||||
W(W), PrintRecordBytes(PrintRecordBytes), InFunctionScope(false) {}
|
||||
|
||||
/// CVSymbolVisitor overrides.
|
||||
#define SYMBOL_RECORD(EnumName, EnumVal, Name) \
|
||||
@ -203,7 +201,6 @@ private:
|
||||
uint32_t RelocationOffset);
|
||||
void printLocalVariableAddrGap(ArrayRef<LocalVariableAddrGap> Gaps);
|
||||
|
||||
CVSymbolDumper &CVSD;
|
||||
CVTypeDumper &CVTD;
|
||||
SymbolDumpDelegate *ObjDelegate;
|
||||
ScopedPrinter &W;
|
||||
@ -656,15 +653,13 @@ void CVSymbolDumperImpl::visitUnknownSymbol(SymbolKind Kind,
|
||||
}
|
||||
|
||||
bool CVSymbolDumper::dump(const SymbolIterator::Record &Record) {
|
||||
CVSymbolDumperImpl Dumper(*this, CVTD, ObjDelegate.get(), W,
|
||||
PrintRecordBytes);
|
||||
CVSymbolDumperImpl Dumper(CVTD, ObjDelegate.get(), W, PrintRecordBytes);
|
||||
Dumper.visitSymbolRecord(Record);
|
||||
return !Dumper.hadError();
|
||||
}
|
||||
|
||||
bool CVSymbolDumper::dump(ArrayRef<uint8_t> Data) {
|
||||
CVSymbolDumperImpl Dumper(*this, CVTD, ObjDelegate.get(), W,
|
||||
PrintRecordBytes);
|
||||
CVSymbolDumperImpl Dumper(CVTD, ObjDelegate.get(), W, PrintRecordBytes);
|
||||
Dumper.visitSymbolStream(Data);
|
||||
return !Dumper.hadError();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user