We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17a5d2d commit 59f15deCopy full SHA for 59f15de
lib/SPIRV/libSPIRV/SPIRVFunction.cpp
@@ -153,6 +153,7 @@ bool SPIRVFunction::decodeBB(SPIRVDecoder &Decoder) {
153
std::to_string(Entry->getOpCode()))) {
154
// Bail out if the opcode is not implemented.
155
Module->setInvalid();
156
+ delete Entry;
157
return false;
158
}
159
@@ -164,6 +165,7 @@ bool SPIRVFunction::decodeBB(SPIRVDecoder &Decoder) {
164
165
SPIRVDebug::DebugNoLine) ||
166
Inst->isExtInst(SPIRVEIS_NonSemantic_Shader_DebugInfo_200,
167
SPIRVDebug::DebugNoLine)) {
168
169
continue;
170
} else if (Inst->isExtInst(SPIRVEIS_NonSemantic_Shader_DebugInfo_100,
171
SPIRVDebug::DebugLine) ||
0 commit comments