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 aabcaf8 commit bde3b51Copy full SHA for bde3b51
lib/SPIRV/SPIRVToLLVMDbgTran.cpp
@@ -138,6 +138,8 @@ const std::string &SPIRVToLLVMDbgTran::getString(const SPIRVId Id) {
138
const std::string
139
SPIRVToLLVMDbgTran::getStringContinued(const SPIRVId Id,
140
SPIRVExtInst *DebugInst) {
141
+ if (getDbgInst<SPIRVDebug::DebugInfoNone>(Id))
142
+ return "";
143
std::string Str = BM->get<SPIRVString>(Id)->getStr();
144
using namespace SPIRVDebug::Operand::SourceContinued;
145
for (auto *I : DebugInst->getContinuedInstructions()) {
0 commit comments