aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2019-06-03 16:20:59 +0000
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2019-06-03 16:20:59 +0000
commit009d08f313c46915930ca617946033a487933b73 (patch)
tree34647f797b0c17215d3dc1862b8bb94d733e13e7 /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
parent0912b06f780a9ac40386a7fb0fb12634619bf323 (diff)
downloadllvm-009d08f313c46915930ca617946033a487933b73.zip
llvm-009d08f313c46915930ca617946033a487933b73.tar.gz
llvm-009d08f313c46915930ca617946033a487933b73.tar.bz2
[PowerPC] Set PROT_READ flag for MF_EXEC to prevent segfaults on PPC machines
The big endian PPC buildbots are all failing now due to calls to cache invalidation in unit tests on data that has only the PROT_EXEC flag set. This has been an issue all along on FreeBSD but it can affect Linux machines depending on configuration. This patch mitigates the issue the same way it is mitigated on FreeBSD. Since this is needed to bring the buildbots back to green, I plan to commit this and allow for post-commit review, but I thought I would also post it here for ease of access/readability. Differential revision: https://reviews.llvm.org/D62741 llvm-svn: 362412
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions