As described in full details in the associated bug, LLVM will map read-only data sections with READ+EXECUTE permissions by default. Unfortunately, this makes certain tests fail on Fuchsia, because this platform is very strict regarding the EXECUTE mapping flag. This CL fixes the issue by ensuring that non-code sections are only mapped with the READ permission instead. An upstream LLVM bug has been sent to https://reviews.llvm.org/D78574 Bug: b/154586551 Change-Id: I0b5bb871f1a305bbfe8a244f7fbcb664b70c209b Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/44128 Kokoro-Result: kokoro <noreply+kokoro@google.com> Tested-by:David Turner <digit@google.com> Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| IntelJITEvents | Loading commit data... | |
| Interpreter | Loading commit data... | |
| JITLink | Loading commit data... | |
| MCJIT | Loading commit data... | |
| OProfileJIT | Loading commit data... | |
| Orc | Loading commit data... | |
| OrcError | Loading commit data... | |
| PerfJITEvents | Loading commit data... | |
| RuntimeDyld | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| ExecutionEngine.cpp | Loading commit data... | |
| ExecutionEngineBindings.cpp | Loading commit data... | |
| GDBRegistrationListener.cpp | Loading commit data... | |
| LLVMBuild.txt | Loading commit data... | |
| SectionMemoryManager.cpp | Loading commit data... | |
| TargetSelect.cpp | Loading commit data... |