1#include <thread>
2
3void t_func() {
4 asm volatile(
5 "int3\n\t"
6 );
7}
8
9int main() {
10 std::thread t(t_func);
11 t.join();
12 return 0;
13}
14

source code of lldb/test/Shell/Driver/Inputs/CommandOnCrashMultiThreaded.cpp