forked from OSchip/llvm-project
ReadSourceManagerBlock is skipping over records that can contain Blobs. Not passing
in a StringRef to bind to them forces them to be unpacked into the Record as individual bytes. This is wasteful, but not likely to be measurable in this instance. llvm-svn: 173066
This commit is contained in:
parent
1aeca1e806
commit
15c3e7dab5
|
@ -810,7 +810,8 @@ bool ASTReader::ReadSourceManagerBlock(ModuleFile &F) {
|
|||
|
||||
// Read a record.
|
||||
Record.clear();
|
||||
switch (SLocEntryCursor.readRecord(E.ID, Record)) {
|
||||
StringRef Blob;
|
||||
switch (SLocEntryCursor.readRecord(E.ID, Record, &Blob)) {
|
||||
default: // Default behavior: ignore.
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue