Fix Undefined Behavior in MLIR Diagnostic: don't call memcpy with a nullptr source
This happens when streaming an empty Twine as part of a diagnostic. Differential Revision: https://reviews.llvm.org/D111002
Loading
Please sign in to comment
This happens when streaming an empty Twine as part of a diagnostic. Differential Revision: https://reviews.llvm.org/D111002