[all-commits] [llvm/llvm-project] 486594: [AMDGPU] Fix prologue/epilogue markers in .debug_l...

Venkata Ramanaiah Nalamothu via All-commits all-commits at lists.llvm.org
Wed Aug 10 10:30:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 486594119ddb76eb30af5179f31a158a6b0f79dc
      https://github.com/llvm/llvm-project/commit/486594119ddb76eb30af5179f31a158a6b0f79dc
  Author: Venkata Ramanaiah Nalamothu <VenkataRamanaiah.Nalamothu at amd.com>
  Date:   2022-08-10 (Wed, 10 Aug 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
    A llvm/test/CodeGen/AMDGPU/prologue-epilogue-markers.ll

  Log Message:
  -----------
  [AMDGPU] Fix prologue/epilogue markers in .debug_line table for trivial functions

All the prologue instructions should have unknown source location
co-ordinates while the epilogue instructions should have source
location of last non-debug instruction after which epilogue
instructions are insrted.

This ensures the prologue/epilogue markers are generated correctly
in the line table.

Changes are brought in from the downstream CFI patches.

Reviewed By: scott.linder

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




More information about the All-commits mailing list