[all-commits] [llvm/llvm-project] 163c22: [Debuginfo] [CSInfo] Do not create CSInfo for unde...

Djordje Todorovic via All-commits all-commits at lists.llvm.org
Wed Dec 9 03:56:39 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 163c223161b8cd33e812613b27fbc52ea6e0f880
      https://github.com/llvm/llvm-project/commit/163c223161b8cd33e812613b27fbc52ea6e0f880
  Author: Djordje Todorovic <djordje.todorovic at syrmia.com>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    A llvm/test/DebugInfo/X86/dbg-call-site-undef-params.ll

  Log Message:
  -----------
  [Debuginfo] [CSInfo] Do not create CSInfo for undef arguments

If a function parameter is marked as "undef", prevent creation
of CallSiteInfo for that parameter.
Without this patch, the parameter's call_site_value would be incorrect.
The incorrect call_value case reported in PR39716,
addressed in D85111.
​
Patch by Nikola Tesic
​
Differential revision: https://reviews.llvm.org/D92471




More information about the All-commits mailing list