mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 22:28:18 +00:00
add support for BLOCKINFO records at the module level. This fixes the reader
issues reid noticed last night. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36785 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -805,6 +805,10 @@ bool BitcodeReader::ParseModule(const std::string &ModuleID) {
|
|||||||
if (Stream.SkipBlock())
|
if (Stream.SkipBlock())
|
||||||
return Error("Malformed block record");
|
return Error("Malformed block record");
|
||||||
break;
|
break;
|
||||||
|
case bitc::BLOCKINFO_BLOCK_ID:
|
||||||
|
if (Stream.ReadBlockInfoBlock())
|
||||||
|
return Error("Malformed BlockInfoBlock");
|
||||||
|
break;
|
||||||
case bitc::PARAMATTR_BLOCK_ID:
|
case bitc::PARAMATTR_BLOCK_ID:
|
||||||
if (ParseParamAttrBlock())
|
if (ParseParamAttrBlock())
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user