Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
S
swiftshader
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • swiftshader
  • Repository

Switch branch/tag
  • swiftshader
  • third_party
  • llvm-10.0
  • llvm
  • lib
  • ExecutionEngine
  • SectionMemoryManager.cpp
Find file
BlameHistoryPermalink
  • David 'Digit' Turner's avatar
    LLVM: Do not map read-only data sections as executable. · 91525d85
    David 'Digit' Turner authored Apr 20, 2020
    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: 's avatarDavid Turner <digit@google.com>
    Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    91525d85
SectionMemoryManager.cpp 9.47 KB
EditWeb IDE
×

Replace SectionMemoryManager.cpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.