aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2016-02-06 00:51:16 +0000
committerPete Cooper <peter_cooper@apple.com>2016-02-06 00:51:16 +0000
commitb8fec3ea626863a71e217c0ea75a74f8451a651c (patch)
treed8c1cb60fc3db02c750b9992b474e9428cc9a5a5 /clang/lib/CodeGen/CodeGenModule.cpp
parentdc1414b3f950cb389775b634706a6635535ed825 (diff)
downloadllvm-b8fec3ea626863a71e217c0ea75a74f8451a651c.zip
llvm-b8fec3ea626863a71e217c0ea75a74f8451a651c.tar.gz
llvm-b8fec3ea626863a71e217c0ea75a74f8451a651c.tar.bz2
Set max segment protection level.
The initial segment protection was also being used to set the maximum segment protection level. Instead, the maximum should be set according to the architecture we are linking. For example on Mac OS it should be RWX on most pages, but on iOS is often on R_X. rdar://problem/24515136 llvm-svn: 259966
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions