[all-commits] [llvm/llvm-project] c50869: [clang-repl] Use ExecutorAddr::toPtr to get functi...

Lang Hames via All-commits all-commits at lists.llvm.org
Mon Sep 14 15:23:15 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5086962da8f36f69ad04ed81fce5aa2f19cec66
      https://github.com/llvm/llvm-project/commit/c5086962da8f36f69ad04ed81fce5aa2f19cec66
  Author: Lang Hames <lhames at gmail.com>
  Date:   2026-09-15 (Tue, 15 Sep 2026)

  Changed paths:
    M clang/lib/Interpreter/Value.cpp

  Log Message:
  -----------
  [clang-repl] Use ExecutorAddr::toPtr to get function ptr (#223395)

Fixes the pretty-print.cpp testcase on Darwin/arm64e.

This testcase was crashing on Darwin/arm64e when it tried to call a
value's destructor via an unauthenticated pointer.

Fix the issue by updating Value::Value to use ExecutorAddr::toPtr to get
an authenticated pointer to the destructor (rather than using
ExecutorAddr::getValue, which yields a raw address with no
authentication bits)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list