[llvm-pdbdump] Abstract some of the YAML/Raw printing code.
There is a lot of duplicate code for printing line info between YAML and the raw output printer. This introduces a base class that can be shared between the two, and makes some minor cleanups in the process. llvm-svn: 301728
This commit is contained in:
@@ -57,8 +57,8 @@ uint32_t DbiModuleDescriptor::getSymbolDebugInfoByteSize() const {
|
||||
return Layout->SymBytes;
|
||||
}
|
||||
|
||||
uint32_t DbiModuleDescriptor::getLineInfoByteSize() const {
|
||||
return Layout->LineBytes;
|
||||
uint32_t DbiModuleDescriptor::getC11LineInfoByteSize() const {
|
||||
return Layout->C11Bytes;
|
||||
}
|
||||
|
||||
uint32_t DbiModuleDescriptor::getC13LineInfoByteSize() const {
|
||||
|
||||
Reference in New Issue
Block a user