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