[Lldb-commits] [PATCH] D126513: Add -b (--continue-to-breakpoint) option to the "process continue" command

walter erquinigo via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 22 11:14:08 PDT 2022


wallace added a comment.

This just broke trunk. Look at this repro:

  #include <chrono>
  #include <thread>
  
  void f3() {
    int m;
    m = 2; // thread 3 - line 6
  }
  
  void f2() {
    int n;
    n = 1; // thread 2 - line 11
    std::thread t3(f3);
    t3.join();
  }
  
  int main() { // main
    std::thread t2(f2);
    t2.join();
    return 0;
  }

b main
b 6
b 11
r # stopped at main
c # stopped at 11
c # doesn't stop at 6! It goes to the end of the program


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126513



More information about the lldb-commits mailing list