Wesley Wiser
9d3739d9ce
Set codegen thread names
For example, gdb:
```
(gdb) info threads
Id Target Id Frame
1 Thread 0x7fffefa7ec40 (LWP 2905) "rustc" __pthread_clockjoin_ex (threadid=140737214134016, thread_return=0x0, clockid=<optimized out>, abstime=<optimized out>, block=<optimized out>)
at pthread_join_common.c:145
2 Thread 0x7fffefa7b700 (LWP 2957) "rustc" 0x00007ffff125eaa8 in llvm::X86_MC::initLLVMToSEHAndCVRegMapping(llvm::MCRegisterInfo*) ()
from /home/wesley/.rustup/toolchains/stage1/lib/librustc_driver-f866439e29074957.so
3 Thread 0x7fffeef0f700 (LWP 3116) "rustc" futex_wait_cancelable (private=0, expected=0, futex_word=0x7fffe8602ac8) at ../sysdeps/nptl/futex-internal.h:183
* 4 Thread 0x7fffeed0e700 (LWP 3123) "rustc" rustc_codegen_ssa:🔙:write::spawn_work (cgcx=..., work=...) at /home/wesley/code/rust/rust/compiler/rustc_codegen_ssa/src/back/write.rs:1573
6 Thread 0x7fffe113b700 (LWP 3150) "opt foof.7rcbfp" 0x00007ffff2940e62 in llvm::CallGraph::populateCallGraphNode(llvm::CallGraphNode*) ()
from /home/wesley/.rustup/toolchains/stage1/lib/librustc_driver-f866439e29074957.so
8 Thread 0x7fffe0d39700 (LWP 3158) "opt foof.7rcbfp" 0x00007fffefe8998e in malloc_consolidate (av=av@entry=0x7ffe2c000020) at malloc.c:4492
9 Thread 0x7fffe0f3a700 (LWP 3162) "opt foof.7rcbfp" 0x00007fffefef27c4 in __libc_open64 (file=0x7fffe0f38608 "foof.foof.7rcbfp3g-cgu.6.rcgu.o", oflag=524865) at ../sysdeps/unix/sysv/linux/open64.c:48
(gdb)
```
2021-02-25 18:33:09 -05:00
..
2021-02-20 17:19:30 -05:00
2021-02-25 14:34:03 +01:00
2021-02-23 16:10:27 +01:00
2021-02-23 16:10:23 +01:00
2021-02-19 02:49:08 +01:00
2021-02-21 18:11:27 +01:00
2021-02-20 10:51:26 +01:00
2021-02-19 17:51:56 +01:00
2021-02-25 14:33:59 +01:00
2021-02-25 18:33:09 -05:00
2021-02-20 17:19:30 -05:00
2021-02-20 21:38:53 +00:00
2021-02-18 16:57:41 +01:00
2021-02-25 14:33:56 +01:00
2021-02-21 18:11:27 +01:00
2021-02-19 13:53:02 -03:00
2021-02-23 10:50:06 +03:00
2021-02-16 22:14:32 +00:00
2021-02-18 14:13:38 +02:00
2021-02-19 02:49:00 +01:00
2021-02-23 02:51:55 +01:00
2021-02-23 16:10:21 +01:00
2021-02-18 16:21:16 -08:00
2021-02-19 17:51:58 +01:00
2021-02-18 14:13:38 +02:00
2021-02-25 14:33:53 +01:00
2021-02-25 08:27:09 +00:00
2021-02-22 21:45:50 +00:00
2021-02-25 14:34:03 +01:00
2021-02-23 16:10:25 +01:00
2021-02-15 19:32:10 +01:00
2021-02-18 16:57:34 +01:00
2021-02-21 12:22:22 +01:00
2021-02-21 12:22:22 +01:00
2021-02-25 14:33:56 +01:00
2021-02-15 19:32:29 +01:00
2021-02-20 17:19:30 -05:00
2021-02-23 10:02:16 +00:00
2021-02-23 16:10:23 +01:00
2021-02-15 19:36:12 +01:00
2021-02-23 02:51:53 +01:00
2021-02-19 16:39:03 +00:00
2021-02-18 16:57:34 +01:00
2021-02-24 21:54:52 +00:00
2021-02-21 21:51:54 +01:00
2021-02-25 14:34:04 +01:00