Skip to content

[Clang-Repl] Using shared memory in Out-Of-Process JIT execution gives Permission Denied error on MacOS #151876

@kr-2003

Description

@kr-2003

Running clang-repl in out-of-process mode with shared memory.

./bin/clang-repl -oop-executor -orc-runtime -use-shared-memory -Xcc="-g" -Xcc="-O0" -Xcc="-debugger-tuning=lldb"

Output

JIT session error: Permission denied
clang-repl: Failed to materialize symbols: { (<Platform>, { ___mh_executable_header, ___dso_handle }) }

System

  • MacOS 15.5
  • MacBook Air M1
  • 8 GB RAM

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions