[PATCH] D19271: Change CALL_ONCE_INITIALIZATION implementation to use static initialization

Kamil Rytarowski via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 3 00:53:07 PDT 2016


krytarowski added a comment.

I'm declaring myself responsible for this bug. gdb(1) so far isn't helping at all, it disregards setting breakpoints even in main() of:

  $ cat test.cpp                                                                                                                                      
  #include <iostream>
  #include <thread>
  #include <mutex>
  
  std::once_flag flag;
  
  int main()
  {
      std::call_once(flag, [](){ std::cout << "Simple example: called once\n"; });
  }

I will keep you posted.


http://reviews.llvm.org/D19271





More information about the llvm-commits mailing list