Commit 327e488a by Ben Clayton

LLVMReactorDebugInfo: Fix warning that function may end without return.

Change-Id: Idb051ef0af8510cbb65dffbbe94be34951928c48 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/31670 Kokoro-Presubmit: kokoro <noreply+kokoro@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Tested-by: 's avatarBen Clayton <bclayton@google.com>
parent dae9792f
...@@ -473,6 +473,7 @@ namespace rr ...@@ -473,6 +473,7 @@ namespace rr
} }
llvm::errs() << "Unimplemented debug type: " << type << "\n"; llvm::errs() << "Unimplemented debug type: " << type << "\n";
assert(false); assert(false);
return nullptr;
} }
llvm::DIFile *DebugInfo::getOrCreateFile(const char* path) llvm::DIFile *DebugInfo::getOrCreateFile(const char* path)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment