[all-commits] [llvm/llvm-project] eeb426: [Sparc] Create an error when `__builtin_longjmp` i...

xtkoba via All-commits all-commits at lists.llvm.org
Fri Dec 3 20:42:07 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eeb4266f8137c232f0f218a727dd12b5d4f52adc
      https://github.com/llvm/llvm-project/commit/eeb4266f8137c232f0f218a727dd12b5d4f52adc
  Author: Tee KOBAYASHI <xtkoba at gmail.com>
  Date:   2021-12-03 (Fri, 03 Dec 2021)

  Changed paths:
    M clang/lib/Basic/Targets/Sparc.h
    M clang/test/Sema/builtin-longjmp.c

  Log Message:
  -----------
  [Sparc] Create an error when `__builtin_longjmp` is used

Support for builtin setjmp/longjmp was removed by https://reviews.llvm.org/D51487. An
error should be created when compiling C code using __builtin_setjmp or __builtin_longjmp.

Reviewed By: dcederman

Differential Revision: https://reviews.llvm.org/D108901




More information about the All-commits mailing list