summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/CodeGen/LatencyPriorityQueue.cpp
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2015-07-21 12:47:15 +0000
committered <ed@FreeBSD.org>2015-07-21 12:47:15 +0000
commit5b106acac60edb18e65da41c7d972e6217d3fbb6 (patch)
tree2d981606b2543b919e648010f75b630229796277 /contrib/llvm/lib/CodeGen/LatencyPriorityQueue.cpp
parent4aefee1269a9b8702f23889219ed58bd3486ad73 (diff)
downloadFreeBSD-src-5b106acac60edb18e65da41c7d972e6217d3fbb6.zip
FreeBSD-src-5b106acac60edb18e65da41c7d972e6217d3fbb6.tar.gz
Make thread creation work for CloudABI processes.
Summary: Remove the stub system call that was put in place during the system call import and replace it by a target-dependent version stored in sys/amd64. Initialize the thread in a way similar to cpu_set_upcall_kse(). We provide the entry point with two arguments: the thread ID and the argument pointer. Test Plan: Thread creation still seems to work, both for FreeBSD and CloudABI binaries. Reviewers: dchagin, mjg, kib Reviewed By: kib Subscribers: imp Differential Revision: https://reviews.freebsd.org/D3110
Diffstat (limited to 'contrib/llvm/lib/CodeGen/LatencyPriorityQueue.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud