[all-commits] [llvm/llvm-project] caf508: [lldb] [test] Synchronize before the breakpoint in...

Michał Górny via All-commits all-commits at lists.llvm.org
Fri Sep 10 04:06:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: caf508d7124353522e7604dbfea36b429469bd39
      https://github.com/llvm/llvm-project/commit/caf508d7124353522e7604dbfea36b429469bd39
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2021-09-10 (Fri, 10 Sep 2021)

  Changed paths:
    M lldb/test/Shell/Subprocess/Inputs/fork.cpp

  Log Message:
  -----------
  [lldb] [test] Synchronize before the breakpoint in fork tests

We set breakpoint on child_func, so synchronization inside it is too
late to guarantee ordering between the parent output and child
breakpoint.  Split the function in two, and perform synchronization
before the breakpoint.

Differential Revision: https://reviews.llvm.org/D109591




More information about the All-commits mailing list