[all-commits] [llvm/llvm-project] 50a4ab: [Coroutines] Create C++ noop coroutine with defaul...

Victor Campos via All-commits all-commits at lists.llvm.org
Mon Jun 2 01:40:13 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 50a4ab2bc3288cb7876d93c859eebdc3c851c527
      https://github.com/llvm/llvm-project/commit/50a4ab2bc3288cb7876d93c859eebdc3c851c527
  Author: Victor Campos <victor.campos at arm.com>
  Date:   2025-06-02 (Mon, 02 Jun 2025)

  Changed paths:
    M llvm/lib/Transforms/Coroutines/CoroEarly.cpp
    A llvm/test/Transforms/Coroutines/coro-noop-pacbti.ll

  Log Message:
  -----------
  [Coroutines] Create C++ noop coroutine with default function attributes (#134878)

This change makes the C++ noop coroutine to be built with attributes
based on the module flags. Among other things, this adds function
attributes related to the Pointer Authentication and Branch Target
Enforcement module flags, which are set by command-line options.

Before this patch, C++ programs built with either PAC-RET or BTI that
had the noop coroutine emitted could have a runtime error because this
function wasn't compatible with the rest of the program.



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