This happens when streaming an empty Twine as part of a diagnostic.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Differential D111002
Fix Undefined Behavior in MLIR Diagnostic: don't call memcpy with a nullptr source ClosedPublic Authored by mehdi_amini on Oct 2 2021, 2:32 PM.
Details Summary This happens when streaming an empty Twine as part of a diagnostic.
Diff Detail
Event TimelineHerald added subscribers: wenzhicui, wrengr, Chia-hungDuan and 17 others. · View Herald TranscriptOct 2 2021, 2:32 PM This revision is now accepted and ready to land.Oct 2 2021, 2:43 PM Closed by commit rG9312cb6f2092: Fix Undefined Behavior in MLIR Diagnostic: don't call memcpy with a nullptr… (authored by mehdi_amini). · Explain WhyOct 2 2021, 3:12 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 376722 mlir/lib/IR/Diagnostics.cpp
|