[all-commits] [llvm/llvm-project] 801c77: [LoongArch] Support when the depth of __builtin_fr...

Gong LingQin via All-commits all-commits at lists.llvm.org
Mon Nov 21 23:51:19 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 801c77bbfabed0f5f47b3704dee8b401f4009734
      https://github.com/llvm/llvm-project/commit/801c77bbfabed0f5f47b3704dee8b401f4009734
  Author: gonglingqin <gonglingqin at loongson.cn>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/test/CodeGen/LoongArch/frameaddr-returnaddr-error.ll
    M llvm/test/CodeGen/LoongArch/frameaddr-returnaddr.ll

  Log Message:
  -----------
  [LoongArch] Support when the depth of __builtin_frame_address is greater than zero

As discussed in D137541, it supports processing when the depth of
__builtin_frame_address is greater than 0 instead of reporting an error.
Unsafe calls rely on the '-Wframe-address' option for diagnosis.

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




More information about the All-commits mailing list