[all-commits] [llvm/llvm-project] 5e4341: [ARM] Forbid use of TLS with execute-only (#124806)

Oliver Stannard via All-commits all-commits at lists.llvm.org
Wed Jan 29 02:42:21 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e43418e0edbc365a9fbf699b19573e0cae4bcf4
      https://github.com/llvm/llvm-project/commit/5e43418e0edbc365a9fbf699b19573e0cae4bcf4
  Author: Oliver Stannard <oliver.stannard at arm.com>
  Date:   2025-01-29 (Wed, 29 Jan 2025)

  Changed paths:
    M clang/lib/Basic/Targets/ARM.cpp
    A clang/test/Sema/arm-execute-only-tls.c

  Log Message:
  -----------
  [ARM] Forbid use of TLS with execute-only (#124806)

Thread-local code generation requires constant pools because most of the
relocations needed for it operate on data, so it cannot be used with
-mexecute-only (or -mpure-code, which is aliased in the driver).

Without this we hit an assertion in the backend when trying to generate
a constant pool.



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