OSDN Git Service

Work around stack probe issue.
authorNicolas Capens <capn@google.com>
Thu, 13 Sep 2018 18:30:56 +0000 (14:30 -0400)
committerNicolas Capens <nicolascapens@google.com>
Thu, 13 Sep 2018 19:07:13 +0000 (19:07 +0000)
commit52551d1cd8b62a4a355b5371450757f0ab67a201
tree6f14db943f45615708c15661a5e5a36e0a6ada96
parentfcedef476ef1b0fbf49787f74b181c8086588a6b
Work around stack probe issue.

LLVM fails to resolve the __chkstck function for probing the stack when
it's larger than 4 kB. We don't need it for SwiftShader because newly
created threads have 1 MB of committed stack memory.

Bug b/115344057
Bug swiftshader:25

Change-Id: Ic6097376052b07ed6af950dfdac8499b5fc83053
Reviewed-on: https://swiftshader-review.googlesource.com/20688
Reviewed-by: Alexis Hétu <sugoi@google.com>
Tested-by: Nicolas Capens <nicolascapens@google.com>
src/Reactor/LLVMReactor.cpp