aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/XCOFFObjectFile.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2020-11-23 15:52:03 -0500
committerLouis Dionne <ldionne.2@gmail.com>2020-11-27 11:54:19 -0500
commit564628014c404bf57aa7cd9a5337198046bdd1ed (patch)
treebf302640f4266b4658c1a3d4659d2e3b7e4a2c51 /llvm/lib/Object/XCOFFObjectFile.cpp
parent8e0148dff703dd1ff12cc143482274233a8dacf3 (diff)
downloadllvm-564628014c404bf57aa7cd9a5337198046bdd1ed.zip
llvm-564628014c404bf57aa7cd9a5337198046bdd1ed.tar.gz
llvm-564628014c404bf57aa7cd9a5337198046bdd1ed.tar.bz2
[libc++] Introduce an indirection to create threads in the test suite
We create threads using std::thread in various places in the test suite. However, the usual std::thread constructor may not work on all platforms, e.g. on platforms where passing a stack size is required to create a thread. This commit introduces a simple indirection that makes it easier to tweak how threads are created inside the test suite on various platforms. Note that tests that are purposefully calling std::thread's constructor directly (e.g. because that is what they're testing) were not modified.
Diffstat (limited to 'llvm/lib/Object/XCOFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions