Handle the case when we have `DebugInfoNone` for the Text argument
which is usually expected to be `OpString`.
Gbp-Pq: Name 0051-DebugInfo-Fix-translation-of-DebugSource-Text-argume.patch
Optional<std::string>
SPIRVToLLVMDbgTran::getStringContinued(const SPIRVId Id,
SPIRVExtInst *DebugInst) {
+ if (getDbgInst<SPIRVDebug::DebugInfoNone>(Id))
+ return std::string();
std::string Str = BM->get<SPIRVString>(Id)->getStr();
using namespace SPIRVDebug::Operand::SourceContinued;
for (auto *I : DebugInst->getContinuedInstructions()) {