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

xtkoba via All-commits all-commits at lists.llvm.org
Mon Dec 20 10:25:49 PST 2021


  Branch: refs/heads/release/13.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 578e500fe5ba0abbb1ed212db720ce22aa2147d2
      https://github.com/llvm/llvm-project/commit/578e500fe5ba0abbb1ed212db720ce22aa2147d2
  Author: Tee KOBAYASHI <xtkoba at gmail.com>
  Date:   2021-12-20 (Mon, 20 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

(cherry picked from commit eeb4266f8137c232f0f218a727dd12b5d4f52adc)




More information about the All-commits mailing list