[all-commits] [llvm/llvm-project] 1c268a: [X86] add dwarf annotation for inline stack probe

YangKeao via All-commits all-commits at lists.llvm.org
Wed Mar 31 14:33:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c268a8ff4e90a85d0e634350b1104080614cf2b
      https://github.com/llvm/llvm-project/commit/1c268a8ff4e90a85d0e634350b1104080614cf2b
  Author: YangKeao <keao.yang at yahoo.com>
  Date:   2021-04-01 (Thu, 01 Apr 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86FrameLowering.cpp
    M llvm/lib/Target/X86/X86FrameLowering.h
    M llvm/test/CodeGen/X86/stack-clash-medium-natural-probes-mutliple-objects.ll
    M llvm/test/CodeGen/X86/stack-clash-medium-natural-probes.ll
    M llvm/test/CodeGen/X86/stack-clash-medium.ll
    M llvm/test/CodeGen/X86/stack-clash-unknown-call.ll

  Log Message:
  -----------
  [X86] add dwarf annotation for inline stack probe

While probing stack, the stack register is moved without dwarf
information, which could cause panic if unwind the backtrace.
This commit only add annotation for the inline stack probe case.
Dwarf information for the loop case should be done in another
patch and need further discussion.

Reviewed By: nagisa

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




More information about the All-commits mailing list