[Lldb-commits] [PATCH] D105832: [vscode] fix ubsan problem in the progress event reporter

Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 12 13:22:34 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG8ea1a630d66f: [vscode] fix ubsan problem in the progress event reporter (authored by Walter Erquinigo <wallace at fb.com>).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105832/new/

https://reviews.llvm.org/D105832

Files:
  lldb/tools/lldb-vscode/ProgressEvent.cpp


Index: lldb/tools/lldb-vscode/ProgressEvent.cpp
===================================================================
--- lldb/tools/lldb-vscode/ProgressEvent.cpp
+++ lldb/tools/lldb-vscode/ProgressEvent.cpp
@@ -47,6 +47,7 @@
       m_percentage = 100;
   } else {
     // Update event
+    m_event_type = progressUpdate;
     m_percentage = std::min(
         (uint32_t)((double)completed / (double)total * 100.0), (uint32_t)99);
     if (prev_event->Reported()) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105832.358050.patch
Type: text/x-patch
Size: 464 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210712/77e2739f/attachment.bin>


More information about the lldb-commits mailing list