aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorTim Northover <t.p.northover@gmail.com>2021-05-26 11:25:11 +0100
committerTim Northover <t.p.northover@gmail.com>2021-07-08 16:22:26 +0100
commit48c68a630e06666101c16aa371f9202a4a53438b (patch)
tree365a41ea82b3a16034ed2fd0bc0b497ce2e98e18 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parentb5113bff461b87fa214fa8fafdffd8eaaf8cf0e7 (diff)
downloadllvm-48c68a630e06666101c16aa371f9202a4a53438b.zip
llvm-48c68a630e06666101c16aa371f9202a4a53438b.tar.gz
llvm-48c68a630e06666101c16aa371f9202a4a53438b.tar.bz2
Recommit: Support: add llvm::thread class that supports specifying stack size.
This adds a new llvm::thread class with the same interface as std::thread except there is an extra constructor that allows us to set the new thread's stack size. On Darwin even the default size is boosted to 8MB to match the main thread. It also switches all users of the older C-style `llvm_execute_on_thread` API family over to `llvm::thread` followed by either a `detach` or `join` call and removes the old API. Moved definition of DefaultStackSize into the .cpp file to hopefully fix the build on some (GCC-6?) machines.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions